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"