* collect2.c (main): Initialize ld_file_name.

From-SVN: r22870
This commit is contained in:
Richard Henderson 1998-10-06 08:43:24 -07:00 committed by Richard Henderson
parent 61a127b3d1
commit 0eac1e434d
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Tue Oct 6 15:42:27 1998 Richard Henderson <rth@cygnus.com>
* collect2.c (main): Initialize ld_file_name.
Tue Oct 6 15:45:15 1998 Catherine Moore <clm@cygnus.com>
* config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Don't

View file

@ -1075,6 +1075,7 @@ main (argc, argv)
/* Try to discover a valid linker/nm/strip to use. */
/* Maybe we know the right file to use (if not cross). */
ld_file_name = 0;
#ifdef DEFAULT_LINKER
if (access (DEFAULT_LINKER, X_OK) == 0)
ld_file_name = DEFAULT_LINKER;