aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ecea0e7..bc33a5b 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 94362b7..4dfb73c 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"