2011-12-03 David Daney <david.daney@cavium.com>

* ld-bootstrap/bootstrap.exp: Use consistent flags for final link
	in ia64 and mips cases.
This commit is contained in:
David Daney 2011-12-03 17:13:02 +00:00
parent 725fc8eddf
commit fdddb815a1
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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
}