]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-x86-64/dwarfreloc.exp
Run more ld tests when not native
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-x86-64 / dwarfreloc.exp
index c96ffd0ec013628ec98a6073a99a17fcd59459b4..7e2486b26863bf6813eea55fd7f2d85abeaa10d3 100644 (file)
@@ -58,14 +58,14 @@ set build_tests_ld {
 run_ld_link_tests $build_tests_ld
 
 set testname "Link dwarfreloc1xa.o and dwarfreloc2xa.o to dwarfreloca.o"
-if [ld_simple_link $ld "tmpdir/dwarfreloca.o" "-r tmpdir/dwarfreloc1xa.o tmpdir/dwarfreloc2xa.o"] {
+if [ld_link $ld "tmpdir/dwarfreloca.o" "-r tmpdir/dwarfreloc1xa.o tmpdir/dwarfreloc2xa.o"] {
     pass $testname
 } else {
     fail $testname
 }
 
 set testname "Link dwarfreloc1xb.o and dwarfreloc2xb.o to dwarfrelocb.o"
-if [ld_simple_link $ld "tmpdir/dwarfrelocb.o" "-r tmpdir/dwarfreloc1xb.o tmpdir/dwarfreloc2xb.o"] {
+if [ld_link $ld "tmpdir/dwarfrelocb.o" "-r tmpdir/dwarfreloc1xb.o tmpdir/dwarfreloc2xb.o"] {
     pass $testname
 } else {
     fail $testname