summaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2012-03-13 00:41:22 +0000
committerHans-Peter Nilsson <hp@axis.com>2012-03-13 00:41:22 +0000
commitf182e704b2ecd13cf813bff21ec9b6b1317ca2ac (patch)
treeb16caad7c8bd002ede266f3a0ec0c8a7b4192e53 /binutils/testsuite
parent00655bab8c3e8495b22d0da63c0e3529d73a102d (diff)
downloadbinutils-redhat-f182e704b2ecd13cf813bff21ec9b6b1317ca2ac.tar.gz
PR binutils/3807
* binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed mips-targets.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog6
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp16
2 files changed, 19 insertions, 3 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index ecea0e7807..bc33a5b2f6 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-13 Hans-Peter Nilsson <hp@axis.com>
+
+ PR binutils/3807
+ * binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed
+ mips-targets.
+
2012-02-25 Walter Lee <walt@tilera.com>
* binutils-all/objdump.exp (cpus_expected): Add tilegx.
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index 94362b7ccd..4dfb73c7b8 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -980,9 +980,19 @@ if [is_elf_format] {
}
}
- # The symbol table for MIPS targets is not sorted by ascending value,
- # so the regexps in localize-hidden-1.d fail to match.
- setup_xfail "mips-*-*"
+ # The symbol table for some MIPS targets is sorted differently than
+ # the ELF canonical order, so the regexps in localize-hidden-1.d fail
+ # to match. These tests must be matched to targets for which
+ # targ_defvec=bfd_elf32_bigmips_vec,
+ # targ_defvec=bfd_elf32_littlemips_vec,
+ # targ_defvec=bfd_elf32_nbigmips_vec or
+ # targ_defvec=bfd_elf32_nlittlemips_vec in config.bfd. When syncing,
+ # don't forget that earlier case-matches trump later ones.
+ if { ![istarget "mips*-sde-elf*"] && ![istarget "mips64*-*-openbsd*"] } {
+ setup_xfail "mips*-*-irix5*" "mips*-*-irix6*" "mips*-*-elf*" \
+ "mips*-*-rtems*" "mips*-*-windiss" "mips*-*-none" \
+ "mips*-*-openbsd*" "mips*-*-chorus*"
+ }
run_dump_test "localize-hidden-1"
run_dump_test "testranges"
run_dump_test "testranges-ia64"