aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-03-15 14:17:28 +0000
committerDave Korn <dave.korn@artimi.com>2009-03-15 14:17:28 +0000
commit588b6e15ae5d0c49dadff66168b2db20b802eab5 (patch)
tree76e910384b060afeea26214526d08f3e7318ce5d /ld
parent61ff14c69a7cb2870f9dd2792690a1fbc8967f29 (diff)
downloadgdb-588b6e15ae5d0c49dadff66168b2db20b802eab5.zip
gdb-588b6e15ae5d0c49dadff66168b2db20b802eab5.tar.gz
gdb-588b6e15ae5d0c49dadff66168b2db20b802eab5.tar.bz2
* ld-auto-import/auto-import.exp: Add missing dll entrypoint.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-auto-import/auto-import.exp2
2 files changed, 5 insertions, 1 deletions
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 <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,
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"
}