From d1bcade6ba573fe30ebc48d71cbc53e4085a9502 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 27 Feb 2000 18:59:40 +0000 Subject: [PATCH] 2000-02-27 H.J. Lu (hjl@gnu.org) * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/lib/ld-lib.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5e78e84b08..6f70a39faf 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-02-27 H.J. Lu (hjl@gnu.org) + + * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs. + 1999-11-01 Nick Clifton * ld-selective/selective.exp: Fix test to disable these checks for diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 4b2a446d48..1c912578c5 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -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"