aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-10-16 20:11:40 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-10-16 20:11:40 +0000
commitfb43c6529c9cd542cb154203093cf2d316e5d11e (patch)
tree476ff475b3125855aeb523f0ba6f3a104ba40d81 /ld/testsuite/ld-pe
parentfc497986a30ad75ecb056a9b8a92a157529046c3 (diff)
downloadgdb-fb43c6529c9cd542cb154203093cf2d316e5d11e.zip
gdb-fb43c6529c9cd542cb154203093cf2d316e5d11e.tar.gz
gdb-fb43c6529c9cd542cb154203093cf2d316e5d11e.tar.bz2
2010-10-16 Kai Tietz <kai.tietz@onevision.com>
* ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl.
Diffstat (limited to 'ld/testsuite/ld-pe')
-rw-r--r--ld/testsuite/ld-pe/pe-run2.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-pe/pe-run2.exp b/ld/testsuite/ld-pe/pe-run2.exp
index 9862037..6cc066e7 100644
--- a/ld/testsuite/ld-pe/pe-run2.exp
+++ b/ld/testsuite/ld-pe/pe-run2.exp
@@ -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 {