2010-10-16 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Sat, 16 Oct 2010 20:11:40 +0000 (20:11 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Sat, 16 Oct 2010 20:11:40 +0000 (20:11 +0000)
        * ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl.

ld/testsuite/ChangeLog
ld/testsuite/ld-pe/pe-run2.exp

index 4b03104a3b2b849937e31c53757da29f90e52c61..249d8524724746f7005c1ed22f2f89bb1f1449d3 100644 (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
index 9862037be57739205237e0a573887a3ad5ffbdc2..6cc066e75551e9f4f2e2c952b547258f93509ee5 100644 (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 {