diff options
author | H.J. Lu <hjl@lucon.org> | 2003-10-23 17:52:00 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2003-10-23 17:52:00 +0000 |
commit | 1b3c702772f996bdea0e56dddc7f43bd5d330266 (patch) | |
tree | bd28576ec8bf62c6500083f578ec1bca39a3acfb /ld/testsuite/ld-elfvers | |
parent | cfb48f10917356aea80f69bca4e1f98b29460b6c (diff) | |
download | binutils-redhat-1b3c702772f996bdea0e56dddc7f43bd5d330266.tar.gz |
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/testsuite/ld-elfvers')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 1e5da668e6..47be40ef8e 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"]} { |