aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2011-12-03 17:13:02 +0000
committerDavid Daney <ddaney@avtrex.com>2011-12-03 17:13:02 +0000
commitfdddb815a1932d4288ae532a7a0d59617e0cf598 (patch)
treeb5209675eff4c86cd2b8ff07d9b0a5381e69787c /ld
parent725fc8eddf130fd9f06a13f0167766ca269ebd75 (diff)
downloadfsf-binutils-gdb-fdddb815a1932d4288ae532a7a0d59617e0cf598.zip
fsf-binutils-gdb-fdddb815a1932d4288ae532a7a0d59617e0cf598.tar.gz
fsf-binutils-gdb-fdddb815a1932d4288ae532a7a0d59617e0cf598.tar.bz2
2011-12-03 David Daney <david.daney@cavium.com>
* ld-bootstrap/bootstrap.exp: Use consistent flags for final link in ia64 and mips cases.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-bootstrap/bootstrap.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9722fa0..9323b33 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-03 David Daney <david.daney@cavium.com>
+
+ * ld-bootstrap/bootstrap.exp: Use consistent flags for final link
+ in ia64 and mips cases.
+
2011-11-29 Maciej W. Rozycki <macro@codesourcery.com>
PR ld/10144
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp
index d0563de..1893873 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
}