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.
This commit is contained in:
H.J. Lu 2003-10-23 17:52:00 +00:00
parent a9178a2f38
commit 9e75165df3
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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"]} {