]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-nios2/nios2.exp
Run more ld tests when not native
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-nios2 / nios2.exp
index b8ffd49ef0a0a4b83784f8029dd1db999d2ab157..b712e9e9e92931736814b14eb8baed36329ed771 100644 (file)
@@ -22,7 +22,7 @@ if ![ld_assemble $as "-march=r2 $srcdir/$subdir/${test}b.s" tmpdir/${test}b.o] {
     return
 }
 
-if { ![ld_simple_link $ld tmpdir/$test "tmpdir/${test}a.o tmpdir/${test}b.o"] } {
+if { ![ld_link $ld tmpdir/$test "tmpdir/${test}a.o tmpdir/${test}b.o"] } {
     if [string match "*architecture * is incompatible*" $link_output] {
        pass "$test_name"
     } {