sysroot fix
Daniel Jacobowitz
drow@mvista.com
Thu Jan 9 16:39:00 GMT 2003
Mea culpa. This didn't show up at runtime, because ld_sysroot is the first
arg to concat(), but it could cause ld to search the host instead of the
sysroot. Checked in.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-01-09 Daniel Jacobowitz <drow@mvista.com>
* ldmain.c (main): Make sure ld_sysroot is initialized.
Index: ldmain.c
===================================================================
RCS file: /cvs/src/src/ld/ldmain.c,v
retrieving revision 1.59
diff -u -p -r1.59 ldmain.c
--- ldmain.c 6 Jan 2003 16:13:57 -0000 1.59
+++ ldmain.c 9 Jan 2003 16:34:51 -0000
@@ -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
More information about the Binutils
mailing list