* ldmain.c (main): Make sure ld_sysroot is initialized.
authorDaniel Jacobowitz <drow@false.org>
Thu, 9 Jan 2003 16:40:14 +0000 (16:40 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 9 Jan 2003 16:40:14 +0000 (16:40 +0000)
ld/ChangeLog
ld/ldmain.c

index 1d4c39f..f16654c 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * ldmain.c (main): Make sure ld_sysroot is initialized.
+
 2003-01-06  Daniel Jacobowitz  <drow@mvista.com>
 
        * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
index 0117b1c..d442738 100644 (file)
@@ -209,6 +209,8 @@ main (argc, argv)
          ld_sysroot = TARGET_SYSTEM_ROOT;
        }
     }
+  else
+    ld_sysroot = TARGET_SYSTEM_ROOT;
 #else
   ld_sysroot = TARGET_SYSTEM_ROOT;
 #endif