aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-02-27 18:59:40 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-02-27 18:59:40 +0000
commitd1bcade6ba573fe30ebc48d71cbc53e4085a9502 (patch)
tree4067ec52c2ce264c12ece4672e69f9a30a134c69 /ld
parente56f75e906b0bce15223b64f4b30c96a954d3a47 (diff)
downloadgdb-d1bcade6ba573fe30ebc48d71cbc53e4085a9502.zip
gdb-d1bcade6ba573fe30ebc48d71cbc53e4085a9502.tar.gz
gdb-d1bcade6ba573fe30ebc48d71cbc53e4085a9502.tar.bz2
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 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"