aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-pe/pe-run2.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 4b03104..249d852 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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
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 {