aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-10-23 17:52:00 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-10-23 17:52:00 +0000
commit9e75165df3cc4ebfba7d16e62ce48c0f28c02adb (patch)
tree29d9dcf09411c43493acf9e705b8555eac7b9ff5 /ld
parenta9178a2f3855dae2cc0341e82dc16307b73a3aaa (diff)
downloadfsf-binutils-gdb-9e75165df3cc4ebfba7d16e62ce48c0f28c02adb.zip
fsf-binutils-gdb-9e75165df3cc4ebfba7d16e62ce48c0f28c02adb.tar.gz
fsf-binutils-gdb-9e75165df3cc4ebfba7d16e62ce48c0f28c02adb.tar.bz2
2003-10-23 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the linker option from gcc.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 3f9b2fe..a33402c 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the
+ linker option from gcc.
+
2003-10-23 Alan Modra <amodra@bigpond.net.au>
* ld-powerpc/tlsexetoc.d: Correct.
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp
index 1e5da66..47be40e 100644
--- a/ld/testsuite/ld-elfvers/vers.exp
+++ b/ld/testsuite/ld-elfvers/vers.exp
@@ -613,7 +613,7 @@ proc test_ldfail { test flag source execname other mapfile whyfail } {
if [string match "" $mapfile] then {
set script_arg ""
} else {
- set script_arg "$script $srcdir/$subdir/$mapfile"
+ set script_arg "-Wl,$script $srcdir/$subdir/$mapfile"
}
if {![ld_simple_link $CC $tmpdir/$execname "$tmpdir/$execname.o $other_lib $script_arg"]} {