OSDN Git Service

* collect2.c (main): Initialize ld_file_name.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Oct 1998 15:43:24 +0000 (15:43 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Oct 1998 15:43:24 +0000 (15:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22870 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/collect2.c

index 0259d7e..378b812 100644 (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
index bc2ef84..bfa9155 100644 (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;