aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-bootstrap/bootstrap.exp
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-06-06 21:03:59 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-06-06 21:03:59 +0000
commit66517a2f18e2cbae1a861b138ce9372fff501f2c (patch)
tree0c73de1e389811f79dae8f9348832914eda1a8cb /ld/testsuite/ld-bootstrap/bootstrap.exp
parentda55addb08b0a3e9331d109997fedf3bcb8361be (diff)
downloadgdb-66517a2f18e2cbae1a861b138ce9372fff501f2c.zip
gdb-66517a2f18e2cbae1a861b138ce9372fff501f2c.tar.gz
gdb-66517a2f18e2cbae1a861b138ce9372fff501f2c.tar.bz2
2001-06-06 H.J. Lu <hjl@gnu.org>
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 on Linux/mips. * ld-elfvers/vers.exp: Also run on istarget Linux/mips. * ld-elfvsb/elfvsb.exp: Likewise. * ld-shared/shared.exp: Likewise. * ld-selective/selective.exp: Mark selective2, selective3, selective4 and selective5 xfail on Linux/mips. * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. * ld-srec/srec.exp: Add Linux/mips to xfail.
Diffstat (limited to 'ld/testsuite/ld-bootstrap/bootstrap.exp')
-rw-r--r--ld/testsuite/ld-bootstrap/bootstrap.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp
index af858da4..6eb40a2 100644
--- a/ld/testsuite/ld-bootstrap/bootstrap.exp
+++ b/ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -115,6 +115,16 @@ foreach flags {"" "strip" "--static" "--traditional-format" "--no-keep-memory"}
continue
}
}
+ } else {
+ if { [istarget mips*-*-linux*] } {
+ # 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"] {
+ fail $testname
+ continue
+ }
+ }
}
send_log "cmp tmpdir/ld2 tmpdir/ld3\n"