]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-elf/sec-to-seg.exp
Run more ld tests when not native
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / sec-to-seg.exp
index 05da6eff8f1771f740f95af2e3b5dfbe60aee02b..5d86a32e2694ef5b1c5789110888c3c98465f8b3 100644 (file)
@@ -40,7 +40,7 @@ proc sec_to_seg_test { testname scriptname same_seg } {
     global exec_output
     global READELF
     
-    if {! [ld_simple_link $ld tmpdir/sec-to-seg "-T $srcdir/$subdir/$scriptname tmpdir/sec-to-seg1.o tmpdir/sec-to-seg2.o"] } then {
+    if {! [ld_link $ld tmpdir/sec-to-seg "-T $srcdir/$subdir/$scriptname tmpdir/sec-to-seg1.o tmpdir/sec-to-seg2.o"] } then {
        fail $testname
        return 0
     }