summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-bootstrap/bootstrap.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-bootstrap/bootstrap.exp')
-rw-r--r--ld/testsuite/ld-bootstrap/bootstrap.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp
index d0563deb89..1893873e61 100644
--- a/ld/testsuite/ld-bootstrap/bootstrap.exp
+++ b/ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -155,7 +155,7 @@ foreach flags {"" "strip" "--static" "--traditional-format"
# On ia64, tmpdir/ld2 != tmpdir/ld3 is normal since they are
# generated by different linkers, tmpdir/ld1 and tmpdir/ld2.
# So we rebuild tmpdir/ld2 with tmpdir/ld3.
- if ![ld_link tmpdir/ld3 tmpdir/ld2 "$flags $OFILES $BFDLIB $LIBIBERTY"] {
+ if ![ld_link tmpdir/ld3 tmpdir/ld2 "$flags $OFILES $BFDLIB $LIBIBERTY $extralibs"] {
fail $testname
continue
}
@@ -165,7 +165,7 @@ foreach flags {"" "strip" "--static" "--traditional-format"
# On Linux/mips, tmpdir/ld2 != tmpdir/ld3 is normal since
# they are generated by different linkers, tmpdir/ld1 and
# tmpdir/ld2. So we rebuild tmpdir/ld2 with tmpdir/ld3.
- if ![ld_link tmpdir/ld3 tmpdir/ld2 "$flags $OFILES $BFDLIB $LIBIBERTY"] {
+ if ![ld_link tmpdir/ld3 tmpdir/ld2 "$flags $OFILES $BFDLIB $LIBIBERTY $extralibs"] {
fail $testname
continue
}
OpenPOWER on IntegriCloud