* ld-auto-import/auto-import.exp: Add missing dll entrypoint.
authorDave Korn <dave.korn@artimi.com>
Sun, 15 Mar 2009 14:17:28 +0000 (14:17 +0000)
committerDave Korn <dave.korn@artimi.com>
Sun, 15 Mar 2009 14:17:28 +0000 (14:17 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-auto-import/auto-import.exp

index df1fd84d6835eaaa60396f88d423cdc1e3ccae1d..462b6954b91a3a03636608323678544759eea3b2 100644 (file)
@@ -1,3 +1,7 @@
+2009-03-15  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * ld-auto-import/auto-import.exp:  Add missing dll entrypoint.
+
 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
 
        * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
index 5b3a484598e22e152fad4635b9aced7575e97ba6..4abb0a9e4bd9be2d1a1c45a63522b5b5e35ce129 100644 (file)
@@ -122,7 +122,7 @@ if [istarget *-pc-cygwin] {
     if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/dll.c $tmpdir/dll.o] {
        fail "compiling shared lib"
     }
-    if ![ld_special_link "$ld -shared --enable-auto-import --out-implib=$tmpdir/libstandard.dll.a" $tmpdir/dll.dll "$tmpdir/dll.o $MYLIBS"] {
+    if ![ld_special_link "$ld -shared --enable-auto-import -e __cygwin_dll_entry@12 --out-implib=$tmpdir/libstandard.dll.a" $tmpdir/dll.dll "$tmpdir/dll.o $MYLIBS"] {
        fail "linking shared lib"
     }