From fb43c6529c9cd542cb154203093cf2d316e5d11e Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Sat, 16 Oct 2010 20:11:40 +0000 Subject: [PATCH] 2010-10-16 Kai Tietz * ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-pe/pe-run2.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl. + 2010-10-15 Dave Korn * 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..6cc066e 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 { -- 2.7.4