summaryrefslogtreecommitdiffstats
path: root/gcc/collect2.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * collect2.c (write_c_file_glob): Allocate initial frame objectlaw1997-12-121-2/+13
| | | | | | | in static storage and pass its address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17066 138bc75d-0d04-0410-961f-82ee72b054a4
* Updates from gcc-2.8 test tarball to current gcc-2.8 tarball.law1997-12-081-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17002 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from gcc-2.8law1997-12-071-2/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
* Update mainline egcs to gcc2 snapshot 971021.law1997-11-021-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16278 138bc75d-0d04-0410-961f-82ee72b054a4
* dwarf2 EH supportjason1997-09-101-8/+71
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15255 138bc75d-0d04-0410-961f-82ee72b054a4
* * cccp.c (sys_errlist): Remove special 4.4bsd declaration.law1997-09-011-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | * collect2.c (sys_errlist): Likewise. * cpplib.c (sys_errlist): Likewise. * gcc.c (sys_errlist): Likewise. * protoize (sys_errlist): Likewise. * configure.in: Check for strerror. * xm-freebsd.h (HAVE_STRERROR): Remove definition. * xm-gnu.h (HAVE_STRERROR): Likewise. * xm-linux.h (HAVE_STRERROR): Likewise. * xm-netbsd.h (HAVE_STRERROR): Likewise. * xm-bsd386.h (HAVE_STRERROR): Likewise. * xm-cygwin32.h (HAVE_STRERROR): Likewise. * xm-dos.h (HAVE_STRERROR): Likewise. * xm-mingw32.h (HAVE_STRERROR): Likewise. * xm-pa.h (HAVE_STRERROR): Likewise. * xm-papro.h (HAVE_STRERROR): Likewise. * xm-sysv4.h (HAVE_STRERROR): Likewise. * configure, config.in: Rebuilt. Remove the need to define HAVE_STRERROR for each host port. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15011 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.law1997-09-011-1/+1
| | | | | | | | | | | | | | * mips-tfile.c: Likewise. * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs. * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition. * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise. * configure.in: Check for sys_siglist declaration. * configure, config.in: Rebuilt. Fix conflicting sys_siglist decls once and for all. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15007 138bc75d-0d04-0410-961f-82ee72b054a4
* * Integrate tlink patch from jason@cygnus.comlaw1997-08-111-6/+9
| | | | | | | | | | | | | | | | | | | | * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'. (process_command): Increment n_switches for them. Don't discard their args. Validate them. (main): Escape " marks when creating COLLECT_GCC_OPTIONS. From Rohan Lenard. (process_command): Set include_prefixes from COMPILER_PATH. (main): Set COLLECT_GCC_OPTIONS sooner. * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld. * tlink.c, hash.c, hash.h: New files. * Makefile.in (USE_COLLECT2): Always use collect2. (collect2): Depend on and link in hash.o and tlink.o. (tlink.o, hash.o): Add dependencies. tlink patches from Jason. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14769 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-06-171-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14251 138bc75d-0d04-0410-961f-82ee72b054a4
* xmerrill1997-06-101-24/+48
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14225 138bc75d-0d04-0410-961f-82ee72b054a4
* (fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.kenner1997-04-131-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13885 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (write_c_file): Wrap the ctor/dtor lists and fns withbrendan1996-12-111-0/+2
| | | | | | | | `extern "C" { ... }', to avoid having the fn names mangled with the C++ driver. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13288 138bc75d-0d04-0410-961f-82ee72b054a4
* (dump_file): Call fclose() for opened files.kenner1996-10-261-4/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13033 138bc75d-0d04-0410-961f-82ee72b054a4
* (at SUNOS4_SHARED_LIBRARIES): Fix reference to unistd.h.kenner1996-07-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12392 138bc75d-0d04-0410-961f-82ee72b054a4
* formatting tweaksmrs1996-07-031-47/+47
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12390 138bc75d-0d04-0410-961f-82ee72b054a4
* formatting tweaksmrs1996-07-031-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12387 138bc75d-0d04-0410-961f-82ee72b054a4
* (handler): Delete export_file when we get a signal.wilson1996-04-241-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11881 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c: #include "gansidecl.h".dje1996-04-151-58/+4
| | | | | | | | | | (const,PROTO): Delete. (P_tmpdir): Delete. (choose_temp_base): Declare as extern, delete internal copy. (main): Update call to choose_temp_base. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11789 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Check new define DEFAULT_A_OUT_NAME.kenner1996-03-041-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11426 138bc75d-0d04-0410-961f-82ee72b054a4
* Never include wait.h.kenner1996-03-041-3/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11405 138bc75d-0d04-0410-961f-82ee72b054a4
* append / to AIX import path if not presentedelsohn1996-02-141-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11275 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix recogniztion of import libraries under AIXmeissner1996-01-071-42/+48
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10952 138bc75d-0d04-0410-961f-82ee72b054a4
* remove auto_export functionality.merrill1995-12-301-12/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10907 138bc75d-0d04-0410-961f-82ee72b054a4
* (scan_libraries): cast lsyms' alloca() to LDSYM*.kenner1995-09-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10324 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix spelling errors.kenner1995-08-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10289 138bc75d-0d04-0410-961f-82ee72b054a4
* (XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and XCOFF_DEBUGGING_FORMAT.kenner1995-07-291-1/+164
| | | | | | | | (SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS. (scan_libraries): Implement for AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10207 138bc75d-0d04-0410-961f-82ee72b054a4
* (end_file): Fix typo in error message text.kenner1995-07-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10174 138bc75d-0d04-0410-961f-82ee72b054a4
* (libcompare): Verify that file name extensions are valid.kenner1995-07-021-3/+26
| | | | | | | Put files with invalid extensions last in the sort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10103 138bc75d-0d04-0410-961f-82ee72b054a4
* (locatelib): Fix parsing of LD_LIBRARY_PATH.kenner1995-06-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10024 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Unlink export_file before we return.kenner1995-06-221-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10022 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9959 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Don't turn off auto_export because of -g.kenner1995-06-151-26/+40
| | | | | | | | | | | | | | (main): Ignore the argument to -o. (main): Place o_file after an initial .o (like crt0.o). If we have LD_INIT_SWITCH, use init and fini functions for executables, too. Specify the unique function names. (write_c_file_stat): Fix the case of destructors but no constructors. Don't include the generic-named functions for executables. (write_c_file): If we have LD_INIT_SWITCH, always use write_c_file_stat. (main): Also add _GLOBAL__D? to export list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9956 138bc75d-0d04-0410-961f-82ee72b054a4
* (COFF scan_prog_file): Use the AIX duplicate entry.kenner1995-06-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9898 138bc75d-0d04-0410-961f-82ee72b054a4
* #include config.h before any other .h file.kenner1995-05-201-7/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9756 138bc75d-0d04-0410-961f-82ee72b054a4
* (strstr): Deleted.kenner1995-05-191-24/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9746 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos in comments.kenner1995-05-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9711 138bc75d-0d04-0410-961f-82ee72b054a4
* Define strstr.merrill1995-05-161-0/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9696 138bc75d-0d04-0410-961f-82ee72b054a4
* AIX shared librariesmerrill1995-05-091-42/+113
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9595 138bc75d-0d04-0410-961f-82ee72b054a4
* Make collect demanglemerrill1995-05-041-70/+195
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9573 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed __NetBSD__ from conditional.kenner1995-02-231-3/+7
| | | | | | | | Declare strerror if HAVE_STRERROR is defined; otherwise declare sys_errlist and sys_nerr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9043 138bc75d-0d04-0410-961f-82ee72b054a4
* Update SunOS 4 codemerrill1995-02-231-2/+43
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9041 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix collecting under AIXmerrill1995-02-131-7/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8933 138bc75d-0d04-0410-961f-82ee72b054a4
* Improve PA shlib supportmerrill1995-01-241-3/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8792 138bc75d-0d04-0410-961f-82ee72b054a4
* Shared library support.merrill1994-11-191-11/+554
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8519 138bc75d-0d04-0410-961f-82ee72b054a4
* (add_to_list): Check for duplicates.merrill1994-10-201-5/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8328 138bc75d-0d04-0410-961f-82ee72b054a4
* (scan_prog_file): Call COLLECT_QUALIFY_MATCH to domerrill1994-10-191-20/+17
| | | | | | | | target-specific checking of the suitability of a match. (main): Check REAL_*_FILE_NAME first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8317 138bc75d-0d04-0410-961f-82ee72b054a4
* (my_strerror): If HAVE_STRERROR defined, call strerror.kenner1994-10-071-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8239 138bc75d-0d04-0410-961f-82ee72b054a4
* If the POSIX.1 wait macros are defined, use them.ian1994-10-041-8/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8213 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Ignore options in COLLECT_SUPPRESS_OPTIONSmerrill1994-09-281-1/+9
| | | | | | | for the first link. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8153 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Discard the first executable once we'vemerrill1994-09-221-0/+1
| | | | | | | exploited it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8122 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud