]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-ifunc/binutils.exp
Run more ld tests when not native
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-ifunc / binutils.exp
index 0567c20d8a5482dfa4d5cbd161bd8e903d8ac3ae..a02b71f5c66e5ed610b46652f3de00f8ecd5b5bd 100644 (file)
@@ -54,7 +54,7 @@ proc binutils_test { prog_name ld_options test } {
        return
     }
 
-    if { ![ld_simple_link $ld tmpdir/$test "$ld_options tmpdir/$test.o"] } {
+    if { ![ld_link $ld tmpdir/$test "$ld_options tmpdir/$test.o"] } {
        if { [string match "*not supported*" $link_output]
             || [string match "*unrecognized option*" $link_output] } {
            unsupported "$ld_options is not supported by this target"