From: Hans-Peter Nilsson Date: Tue, 13 Mar 2012 00:41:22 +0000 (+0000) Subject: PR binutils/3807 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8560e02a720855e2d0adb6d4e0725337b0f41695;p=binutils-gdb.git PR binutils/3807 * binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed mips-targets. --- diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index ecea0e78074..bc33a5b2f6e 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-03-13 Hans-Peter Nilsson + + PR binutils/3807 + * binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed + mips-targets. + 2012-02-25 Walter Lee * 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 94362b7ccd8..4dfb73c7b8f 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"