[PATCH]: A patch for ld/testsuite

H . J . Lu hjl@valinux.com
Fri Feb 25 16:56:00 GMT 2000


I'd like to check in this patch. Any objections? The problem is LIBS
set in ld/Makefile is not passed into ld/testsuite. As the result,
some tests may fail.

Thanks.

-- 
H.J. Lu (hjl@gnu.org)
--
Sun Oct 10 10:02:51 1999  H.J. Lu  (hjl@gnu.org)

	* lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.

Index: lib/ld-lib.exp
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/testsuite/lib/ld-lib.exp,v
retrieving revision 1.1.1.3
retrieving revision 1.3
diff -u -p -r1.1.1.3 -r1.3
--- lib/ld-lib.exp	1999/07/28 18:19:46	1.1.1.3
+++ lib/ld-lib.exp	1999/10/10 19:44:46	1.3
@@ -83,10 +83,11 @@ proc default_ld_link { ld target objects
     global HOSTING_EMU
     global HOSTING_CRT0
     global HOSTING_LIBS
+    global LIBS
     global host_triplet
     
     set objs "$HOSTING_CRT0 $objects"
-    set libs "$HOSTING_LIBS"
+    set libs "$LIBS $HOSTING_LIBS"
     
     if { [which $ld] == 0 } then {
 	perror "$ld does not exist"


More information about the Binutils mailing list