summaryrefslogtreecommitdiffstats
path: root/gcc/collect2.c
Commit message (Collapse)AuthorAgeFilesLines
...
* (fatal_perror, fatal, error): Declare all args as char *.kenner1994-09-131-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8078 138bc75d-0d04-0410-961f-82ee72b054a4
* Do the 4.4BSD sys_errlist modification for NetBSD also.mycroft1994-07-111-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7707 138bc75d-0d04-0410-961f-82ee72b054a4
* Cast pointer operands to bzero, bcopy, and bcmp to (char *).kenner1994-06-141-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7472 138bc75d-0d04-0410-961f-82ee72b054a4
* (putenv): Remove decl of unused variable STR_LEN.kenner1994-03-251-3/+0
| | | | | | | (main): Remove decls of unused variables LEN and CLEN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6875 138bc75d-0d04-0410-961f-82ee72b054a4
* (dup2): Catch dup() failure. Return correct value.kenner1994-03-101-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6740 138bc75d-0d04-0410-961f-82ee72b054a4
* ([__MSDOS__]): Use #ifdef, not #if.kenner1994-03-101-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6739 138bc75d-0d04-0410-961f-82ee72b054a4
* (sys_siglist): Don't declare if DONT_DECLARE_SYS_SIGLIST is defined.wilson1994-02-061-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6494 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): When searching compiler directories, look for ld_suffix, notkenner1993-12-231-1/+3
| | | | | | | full_ld_suffix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6280 138bc75d-0d04-0410-961f-82ee72b054a4
* (sys_errlist): Conditionalize declaration for BSD 4.4.wilson1993-10-201-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5843 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.meissner1993-10-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5570 138bc75d-0d04-0410-961f-82ee72b054a4
* Add prototypes to static declarations.kenner1993-10-021-42/+57
| | | | | | | | (PROTO): New macro. (dup2, putenv): Functions return integers; add type and returns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5560 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Provide upward compatibility with old versiondje1993-09-111-6/+27
| | | | | | | of collect (avoids infinite mutual recursion between the two). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5307 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (our_file_name, last_file_name): deleted.dje1993-09-051-13/+73
| | | | | | | | | | | (our_file_names): New variable. (is_in_prefix_list): New function. (find_a_file): Call is_in_prefix_list. (main): Make COLLECT_NAMES a list of our invocations. If we've invoked ourselves, try again with ld_file_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5262 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (is_ctor_dtor): Make sizeof argument match themrs1993-09-011-1/+1
| | | | | | | string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5239 138bc75d-0d04-0410-961f-82ee72b054a4
* (handler): Check whether c_file and o_file are 0.rms1993-08-051-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5073 138bc75d-0d04-0410-961f-82ee72b054a4
* (NAME__MAIN, SYMBOL__MAIN): Add default definitions.rms1993-07-261-6/+18
| | | | | | | | (write_c_file, scan_prog_file(OSF/ROSE)): Use them instead of explicit __main. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4990 138bc75d-0d04-0410-961f-82ee72b054a4
* Finish last change.rms1993-07-211-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4948 138bc75d-0d04-0410-961f-82ee72b054a4
* (is_ctor_dtor): Delete leading _'s from sym namesrms1993-07-211-2/+2
| | | | | | | in `special' table, in neither-dots-nor-dollars case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4947 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Allocate COLLECT_NAME string with xmalloc.rms1993-07-101-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4902 138bc75d-0d04-0410-961f-82ee72b054a4
* Search for ld in the compiler directories.ian1993-07-071-3/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4872 138bc75d-0d04-0410-961f-82ee72b054a4
* (fork_execute, scan_prog_file): Use "fork" in errorwilson1993-07-071-2/+14
| | | | | | | messages instead of "vfork" when vfork is defined to fork. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4871 138bc75d-0d04-0410-961f-82ee72b054a4
* (error, fatal, fatal_perror): Say collect2, not collect.rms1993-07-041-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4839 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Give ld_file_name an initial value.dje1993-07-031-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4835 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Don't look for `gld' or `TARGET-gld'.rms1993-06-301-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4805 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Use TARGET-gcc, not gcc-TARGET.rms1993-05-251-18/+18
| | | | | | | (main) [CROSS_COMPILE]: Use TARGET-TOOL for full_... git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4563 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): For -debug, if ..._file_name is a null pointer,rms1993-05-211-6/+12
| | | | | | | say so instead of crashing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4530 138bc75d-0d04-0410-961f-82ee72b054a4
* (main, scan_prog_file): Don't call signal on signal names that aren'tkenner1993-04-131-0/+12
| | | | | | | defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4135 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_file): New static var.rms1993-03-181-6/+12
| | | | | | | | (main): Set output_file. (my_exit): Delete output_file on failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3777 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Use strlen, not sizeof, for our_file_name.rms1993-03-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3617 138bc75d-0d04-0410-961f-82ee72b054a4
* (is_ctor_dtor): Handle NO_DOT_IN_LABEL.rms1993-02-261-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3538 138bc75d-0d04-0410-961f-82ee72b054a4
* (find_a_file): Always reject "./ld".kenner1993-02-111-11/+13
| | | | | | | | | | (main): Pass short name of program as first arg to fork_execute; ensure argv[0] always gets filename. (fork_execute): Print name for diagnostic from PROG; filename comes from argv[0]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3463 138bc75d-0d04-0410-961f-82ee72b054a4
* (putenv): New function, copied from gcc.c.kenner1993-02-111-5/+69
| | | | | | | | | | | (last_file_name): New variable. (find_a_file): Ignore name in last_file_name too. (main): Look at name in COLLECT_NAME and set it to the name we were called with. Pass filename used for ld to ld as argv[0]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3461 138bc75d-0d04-0410-961f-82ee72b054a4
* Delete ISCOFF macro which was in #ifdef _AIX.kenner1993-01-271-6/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3363 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (write_list_with_asm): Use `__asm__' instead ofbrendan1993-01-261-1/+1
| | | | | | | `asm', to avoid problems with `-fno-asm'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3351 138bc75d-0d04-0410-961f-82ee72b054a4
* (find_a_file): First `access' test was backwards.rms1993-01-261-2/+2
| | | | | | | (main): Set full_real_ld_suffix right. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3346 138bc75d-0d04-0410-961f-82ee72b054a4
* (our_file_name): New variable.kenner1993-01-221-2/+9
| | | | | | | | (find_a_file): Ignore filename equal to that in our_file_name. (main): Initialize our_file_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3299 138bc75d-0d04-0410-961f-82ee72b054a4
* (choose_temp_base, main): Fix "off by one" errors in sizes ofkenner1993-01-181-9/+9
| | | | | | | allocated strings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3261 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Look for `real-ld' after `gld', before `ld'.rms1993-01-021-133/+311
| | | | | | | | | | | | | | | | | | | | | | | | | Fix typo in -debug part of previous change. Look for tools using paths rather than a single prefix. (struct prefix_list, struct path_prefix): New structures. (cpath, path): New variables. (find_a_file, add_prefix): New functions; simplified versions of functions from gcc.c. (prefix_from_env): New function. (main): Get path to search for binaries from COMPILER_PATH environment variable always set by gcc.c and from PATH. Qualify names with target machine in cross-environment unless using compiler directories. Use find_a_file to find our binaries. Remove use of single prefix. If -debug, print strip_file_name. (fork_execute): Print program we are trying to execute if -debug and we can't find the file. (scan_prog_file): Complain if can't find nm. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3052 138bc75d-0d04-0410-961f-82ee72b054a4
* (FREAD, FWRITE): Undef these macros if they were definedrms1992-11-231-1/+2
| | | | | | | before including ldfcn.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2780 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): If COLLECT_GCC is a relative name, use it anyway.rms1992-10-151-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2467 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Only install a signal handler for signalswilson1992-10-131-14/+12
| | | | | | | | that already have handlers. (fork_execute): Don't ignore signals before calling do_wait. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2436 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in last change.rms1992-08-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1865 138bc75d-0d04-0410-961f-82ee72b054a4
* (is_ctor_dtor): Don't collect cfront init fcns.rms1992-08-171-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1864 138bc75d-0d04-0410-961f-82ee72b054a4
* entered into RCSrms1992-07-281-0/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1697 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***mycroft1992-07-061-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1471 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-06-301-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1360 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***mrs1992-06-291-2/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1341 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-06-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1263 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-06-181-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1212 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***meissner1992-06-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1185 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud