Commit Graph

280 Commits

Author SHA1 Message Date
Richard Stallman
7cbfceab52 (is_ctor_dtor): Handle NO_DOT_IN_LABEL.
From-SVN: r3538
1993-02-26 06:34:41 +00:00
Richard Kenner
aee3a549b0 (find_a_file): Always reject "./ld".
(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].

From-SVN: r3463
1993-02-11 14:41:46 -05:00
Richard Kenner
45840c57d7 (putenv): New function, copied from gcc.c.
(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].

From-SVN: r3461
1993-02-11 05:55:22 -05:00
Richard Kenner
7243ba7d92 Delete ISCOFF macro which was in #ifdef _AIX.
From-SVN: r3363
1993-01-27 06:46:40 -05:00
Brendan Kehoe
c7af43d8b3 collect2.c (write_list_with_asm): Use __asm__' instead of asm', to avoid problems with `-fno-asm'.
* collect2.c (write_list_with_asm): Use `__asm__' instead of
        `asm', to avoid problems with `-fno-asm'.

From-SVN: r3351
1993-01-26 17:14:37 -05:00
Richard Stallman
e8fda1f96b (find_a_file): First `access' test was backwards.
(main): Set full_real_ld_suffix right.

From-SVN: r3346
1993-01-26 06:58:09 +00:00
Richard Kenner
720653a39b (our_file_name): New variable.
(find_a_file): Ignore filename equal to that in our_file_name.
(main): Initialize our_file_name.

From-SVN: r3299
1993-01-22 07:56:23 -05:00
Richard Kenner
aee42e2745 (choose_temp_base, main): Fix "off by one" errors in sizes of
allocated strings.

From-SVN: r3261
1993-01-18 06:23:11 -05:00
Richard Stallman
bb59f9a64b (main): Look for real-ld' after gld', before `ld'.
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.

From-SVN: r3052
1993-01-02 08:32:09 +00:00
Richard Stallman
033ba47ced (FREAD, FWRITE): Undef these macros if they were defined
before including ldfcn.h.

From-SVN: r2780
1992-11-23 22:46:14 +00:00
Richard Stallman
5365d6ee18 (main): If COLLECT_GCC is a relative name, use it anyway.
From-SVN: r2467
1992-10-15 06:11:01 +00:00
Jim Wilson
915ee62371 (main): Only install a signal handler for signals that already have handlers.
(main): Only install a signal handler for signals
that already have handlers.
(fork_execute): Don't ignore signals before calling do_wait.

From-SVN: r2436
1992-10-13 11:24:57 -07:00
Richard Stallman
7a646ee5a3 Fix typo in last change.
From-SVN: r1865
1992-08-17 07:58:51 +00:00
Richard Stallman
c1af03468d (is_ctor_dtor): Don't collect cfront init fcns.
From-SVN: r1864
1992-08-17 07:58:06 +00:00
Richard Stallman
f28e8a6876 entered into RCS
From-SVN: r1697
1992-07-28 02:18:03 +00:00
Charles Hannum
5f4f0e2294 *** empty log message ***
From-SVN: r1471
1992-07-06 20:04:00 +00:00
Richard Stallman
e99467d2ed *** empty log message ***
From-SVN: r1360
1992-06-30 04:05:47 +00:00
Mike Stump
3f7cc57ab8 *** empty log message ***
From-SVN: r1341
1992-06-29 19:15:14 +00:00
Richard Stallman
f72aed244a *** empty log message ***
From-SVN: r1263
1992-06-24 03:59:40 +00:00
Richard Stallman
7c0891a18f *** empty log message ***
From-SVN: r1212
1992-06-18 19:27:56 +00:00
Michael Meissner
f3c3d3df9c *** empty log message ***
From-SVN: r1185
1992-06-10 19:25:16 +00:00
Richard Stallman
629af8db53 *** empty log message ***
From-SVN: r1168
1992-06-05 23:03:21 +00:00
Richard Stallman
e6701a475f *** empty log message ***
From-SVN: r1099
1992-05-27 20:06:15 +00:00
Richard Stallman
cd4f4a28dd *** empty log message ***
From-SVN: r965
1992-05-13 01:24:47 +00:00
Jim Wilson
177048466a *** empty log message ***
From-SVN: r917
1992-05-06 14:25:13 -07:00
Michael Meissner
a87104d913 *** empty log message ***
From-SVN: r840
1992-04-27 16:50:26 +00:00
Richard Stallman
aaf625e5fa *** empty log message ***
From-SVN: r677
1992-04-04 06:49:57 +00:00
Richard Stallman
1fab8e8107 *** empty log message ***
From-SVN: r656
1992-04-01 05:06:34 +00:00
Richard Stallman
ed5b946218 *** empty log message ***
From-SVN: r529
1992-03-19 22:07:22 +00:00
Richard Stallman
4e81a331e8 Initial revision
From-SVN: r287
1992-02-06 22:06:40 +00:00