Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / ld / testsuite / ld-pe / pe-compile.exp
old mode 100755 (executable)
new mode 100644 (file)
index d912719..e6154c5
@@ -1,7 +1,6 @@
 # Expect script for complex PE tests that require a C compiler
 # in addition to the just-built binutils.
-#   Copyright 2009
-#   Free Software Foundation, Inc.
+#   Copyright (C) 2009-2019 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -53,7 +52,7 @@ proc run_basefile_test { testname } {
     global subdir
     global verbose
 
-    if ![ld_simple_link "$LD -e start \
+    if ![ld_link "$LD -e start \
            --base-file=tmpdir/$testname.base \
            --export-all-symbols" tmpdir/$testname.dll \
            "tmpdir/basefile1.o"] {
@@ -93,7 +92,7 @@ proc run_ver_script_test { testname } {
     global subdir
     global verbose
 
-    if ![ld_simple_link "$CC -shared \
+    if ![ld_link "$CC -shared \
            -Wl,--version-script,$srcdir/$subdir/$testname.ver \
            -Wl,--output-def,tmpdir/$testname.def" tmpdir/$testname.dll \
            "tmpdir/vers-script-dll.o"] {
@@ -130,13 +129,13 @@ if {[istarget i*86-*-cygwin*]
  }
 
 set align_tests {
-  {"aligned common 1" "" "" {aligncomm-1.c}
+  {"aligned common 1" "" "" "" {aligncomm-1.c}
    {{nm -C aligncomm.d}} "aligncomm-1.x"}
-  {"aligned common 2" "" "" {aligncomm-2.c}
+  {"aligned common 2" "" "" "" {aligncomm-2.c}
    {{nm -C aligncomm.d}} "aligncomm-2.x"}
-  {"aligned common 3" "" "" {aligncomm-3.c}
+  {"aligned common 3" "" "" "" {aligncomm-3.c}
    {{nm -C aligncomm.d}} "aligncomm-3.x"}
-  {"aligned common 4" "" "" {aligncomm-4.c}
+  {"aligned common 4" "" "" "" {aligncomm-4.c}
    {{nm -C aligncomm.d}} "aligncomm-4.x"}
 }
 
This page took 0.026461 seconds and 4 git commands to generate.