diff options
author | H.J. Lu <hjl@lucon.org> | 2001-02-15 01:17:07 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-02-15 01:17:07 +0000 |
commit | f4eaddd833bacc41859725f5ad725a0d755bd3e6 (patch) | |
tree | 5ca12832ac29c82aee9a11843df19224e03195ef /ld/testsuite/ld-bootstrap | |
parent | 2ca6a872da90960eb7e3413518b3938a9630a0e6 (diff) | |
download | binutils-redhat-f4eaddd833bacc41859725f5ad725a0d755bd3e6.tar.gz |
2001-02-14 H.J. Lu <hjl@gnu.org>
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
for -static on ia64.
* ld-checks/checks.exp: Don't run on ia64-*-elf* nor
ia64-*-linux*.
* ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.
* ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
Set up expected failures for ia64-*-linux*.
* ld-shared/shared.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-bootstrap')
-rw-r--r-- | ld/testsuite/ld-bootstrap/bootstrap.exp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp index a3f8a19023..c989167149 100644 --- a/ld/testsuite/ld-bootstrap/bootstrap.exp +++ b/ld/testsuite/ld-bootstrap/bootstrap.exp @@ -102,6 +102,19 @@ foreach flags {"" "strip" "--static" "--traditional-format" "--no-keep-memory"} continue } + if {"$flags" == "--static"} { + if { [istarget ia64-*-elf*] + || [istarget ia64-*-linux*] } { + # 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"] { + fail $testname + continue + } + } + } + send_log "cmp tmpdir/ld2 tmpdir/ld3\n" verbose "cmp tmpdir/ld2 tmpdir/ld3" catch "exec cmp tmpdir/ld2 tmpdir/ld3" exec_output |