From: Dave Korn Date: Sun, 15 Mar 2009 14:17:28 +0000 (+0000) Subject: * ld-auto-import/auto-import.exp: Add missing dll entrypoint. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=588b6e15ae5d0c49dadff66168b2db20b802eab5;p=binutils-gdb.git * ld-auto-import/auto-import.exp: Add missing dll entrypoint. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index df1fd84d683..462b6954b91 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-03-15 Dave Korn + + * ld-auto-import/auto-import.exp: Add missing dll entrypoint. + 2009-03-14 Richard Sandiford * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd, diff --git a/ld/testsuite/ld-auto-import/auto-import.exp b/ld/testsuite/ld-auto-import/auto-import.exp index 5b3a484598e..4abb0a9e4bd 100644 --- a/ld/testsuite/ld-auto-import/auto-import.exp +++ b/ld/testsuite/ld-auto-import/auto-import.exp @@ -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" }