aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
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/ldmain.c
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/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 2 insertions, 0 deletions
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