]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-scripts/weak.exp
Run more ld tests when not native
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-scripts / weak.exp
index 04b19aadf85e43a5f9bb5b35c45bd1b305cb52c5..1affef6e5528ff0b4ac686a1de09bc0e42ef961c 100644 (file)
@@ -55,7 +55,7 @@ set weak_regexp_big \
 set weak_regexp_little \
 ".*Contents of section .text:.*1000 08100000 0c200000 12121212 34343434.*Contents of section .data:.*2000 08100000 0c200000 56565656 78787878.*"
 
-if {! [ld_simple_link $ld tmpdir/weak "$flags -T $srcdir/$subdir/weak.t tmpdir/weak1.o tmpdir/weak2.o"] } then {
+if {! [ld_link $ld tmpdir/weak "$flags -T $srcdir/$subdir/weak.t tmpdir/weak1.o tmpdir/weak2.o"] } then {
     fail $testname
 } else {
     if {![is_remote host] && [which $objdump] == 0} then {