Run more ld tests when not native
[deliverable/binutils-gdb.git] / ld / testsuite / ld-pe / pe-compile.exp
index cc05c08ff332f667d72c1489958eba75acb1f971..f29e5cf2b60945df99bca824ad599dd5819b33f5 100644 (file)
@@ -1,6 +1,6 @@
 # Expect script for complex PE tests that require a C compiler
 # in addition to the just-built binutils.
-#   Copyright (C) 2009-2016 Free Software Foundation, Inc.
+#   Copyright (C) 2009-2017 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -52,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"] {
@@ -92,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"] {
This page took 0.025926 seconds and 4 git commands to generate.