From 588b6e15ae5d0c49dadff66168b2db20b802eab5 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Sun, 15 Mar 2009 14:17:28 +0000 Subject: [PATCH] * ld-auto-import/auto-import.exp: Add missing dll entrypoint. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-auto-import/auto-import.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index df1fd84..462b695 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 5b3a484..4abb0a9 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" } -- 2.7.4