Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / ld / testsuite / ld-auto-import / auto-import.exp
index 0192345e7e92738df76e3a33261ea2c38b08c22e..cc3cad71c7a5c0bed42bc43604890644f9428312 100644 (file)
@@ -1,6 +1,5 @@
 # Expect script for ld-auto-import tests
-#   Copyright 2002, 2007
-#   Free Software Foundation, Inc.
+#   Copyright (C) 2002-2018 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -122,7 +121,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 "$CC -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"
     }
 
This page took 0.023386 seconds and 4 git commands to generate.