summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldmain.c2
2 files changed, 6 insertions, 0 deletions
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 <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.
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