aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/binutils.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ifunc/binutils.exp')
-rw-r--r--ld/testsuite/ld-ifunc/binutils.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-ifunc/binutils.exp b/ld/testsuite/ld-ifunc/binutils.exp
index 0567c20..a02b71f 100644
--- a/ld/testsuite/ld-ifunc/binutils.exp
+++ b/ld/testsuite/ld-ifunc/binutils.exp
@@ -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"