aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-09 16:40:14 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-09 16:40:14 +0000
commita65fb6096a8771b5dcd7190fe3c56b8281decdb4 (patch)
tree1516c0f321a42e59ce1ed57fc6305dfeb5d7401b /ld
parent27a39a5f0a50d010917b6a769d19ebd02daccfd6 (diff)
downloadgdb-a65fb6096a8771b5dcd7190fe3c56b8281decdb4.zip
gdb-a65fb6096a8771b5dcd7190fe3c56b8281decdb4.tar.gz
gdb-a65fb6096a8771b5dcd7190fe3c56b8281decdb4.tar.bz2
* ldmain.c (main): Make sure ld_sysroot is initialized.
Diffstat (limited to 'ld')
-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 1d4c39f..f16654c 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 0117b1c..d442738 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