aboutsummaryrefslogtreecommitdiff
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
commit8560e02a720855e2d0adb6d4e0725337b0f41695 (patch)
tree2a61948a5282226237ebd2651d119e5bec395e21 /binutils/testsuite
parente8dd54e14a498292154a6511c03d8953379b7688 (diff)
downloadgdb-8560e02a720855e2d0adb6d4e0725337b0f41695.zip
gdb-8560e02a720855e2d0adb6d4e0725337b0f41695.tar.gz
gdb-8560e02a720855e2d0adb6d4e0725337b0f41695.tar.bz2
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 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"