diff options
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5e78e84b..6f70a39 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 <nickc@cygnus.com> * 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 4b2a446..1c91257 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" |