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