2010-10-16 Kai Tietz <kai.tietz@onevision.com>

* ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl.
This commit is contained in:
Kai Tietz 2010-10-16 20:11:40 +00:00
parent fc497986a3
commit fb43c6529c
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-10-16 Kai Tietz <kai.tietz@onevision.com>
* ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl.
2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com>
* ld-plugin/plugin.exp: Don't error out if there is no target compiler

View file

@ -85,7 +85,7 @@ proc test_direct2_link_dll {} {
} else {
# Check linking directly to direct2_dll.dll.
set msg "linking client (.dll) fastcall/stdcall"
if [ld_simple_link "$CC -Wl,--enable-stdcall-fixup --enable-auto-import" $tmpdir/direct2_client_dll.exe \
if [ld_simple_link "$CC -Wl,--enable-stdcall-fixup -Wl,--enable-auto-import" $tmpdir/direct2_client_dll.exe \
"$tmpdir/direct2_client.o $tmpdir/direct2_dll.dll" ] {
pass $msg
} else {