aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/assert.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/assert.exp')
-rw-r--r--ld/testsuite/ld-scripts/assert.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-scripts/assert.exp b/ld/testsuite/ld-scripts/assert.exp
index c0d9e84..1ea0b02 100644
--- a/ld/testsuite/ld-scripts/assert.exp
+++ b/ld/testsuite/ld-scripts/assert.exp
@@ -26,7 +26,7 @@ if ![ld_assemble $as $srcdir/$subdir/assert.s tmpdir/assert.o] {
return
}
-if ![ld_simple_link $ld tmpdir/assert "-T $srcdir/$subdir/assert.t tmpdir/assert.o"] {
+if ![ld_link $ld tmpdir/assert "-T $srcdir/$subdir/assert.t tmpdir/assert.o"] {
fail $testname
} else {
pass $testname