summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2000-02-27 18:59:40 +0000
committerH.J. Lu <hjl@lucon.org>2000-02-27 18:59:40 +0000
commit17f48dd7364be9f425afc71bea40d1c8a2838ba2 (patch)
tree3d689de5aae48cc19d38a1a96175f640f8f627ff /ld
parent53098148326cda1aa4f45a314cb50ce4dd0b8bbf (diff)
downloadbinutils-redhat-17f48dd7364be9f425afc71bea40d1c8a2838ba2.tar.gz
2000-02-27 H.J. Lu (hjl@gnu.org)
* lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/lib/ld-lib.exp3
2 files changed, 6 insertions, 1 deletions
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 <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 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"