From: Daniel Jacobowitz Date: Thu, 9 Jan 2003 16:40:14 +0000 (+0000) Subject: * ldmain.c (main): Make sure ld_sysroot is initialized. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a65fb6096a8771b5dcd7190fe3c56b8281decdb4;p=binutils-gdb.git * ldmain.c (main): Make sure ld_sysroot is initialized. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 1d4c39f1e46..f16654c6412 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-01-09 Daniel Jacobowitz + + * ldmain.c (main): Make sure ld_sysroot is initialized. + 2003-01-06 Daniel Jacobowitz * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. diff --git a/ld/ldmain.c b/ld/ldmain.c index 0117b1c3a82..d442738cfe3 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -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