From: Richard Sandiford Date: Wed, 27 Nov 2013 09:11:06 +0000 (+0000) Subject: binutils/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4a43794d23f7bcbca91fc648e8afe612fbb6632;p=binutils-gdb.git binutils/testsuite/ 2013-11-27 Matthew Fortune * binutils-all/objcopy.exp: Consider mips-mti-elf the same as mips-sde-elf * binutils-all/readelf.exp: Likewise gas/testsuite/ 2013-11-27 Matthew Fortune * gas/mips/mips.exp: Consider mips-mti-elf the same as mips-sde-elf ld/testsuite/ 2013-11-27 Matthew Fortune * ld-mips-elf/mips-elf.exp: Consider mips-mti-elf the same as mips-sde-elf --- diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index e3ac703528e..67c7260ac51 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-11-27 Matthew Fortune + + * binutils-all/objcopy.exp: Consider mips-mti-elf the same as + mips-sde-elf + * binutils-all/readelf.exp: Likewise + 2013-11-21 Tristan Gingold * binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test. diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index 4dfb73c7b8f..dca962d2fc7 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -988,7 +988,8 @@ if [is_elf_format] { # 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*"] } { + if { ![istarget "mips*-sde-elf*"] && ![istarget "mips*-mti-elf*"] + && ![istarget "mips64*-*-openbsd*"] } { setup_xfail "mips*-*-irix5*" "mips*-*-irix6*" "mips*-*-elf*" \ "mips*-*-rtems*" "mips*-*-windiss" "mips*-*-none" \ "mips*-*-openbsd*" "mips*-*-chorus*" diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp index db56a868553..9a3e6bd6b08 100644 --- a/binutils/testsuite/binutils-all/readelf.exp +++ b/binutils/testsuite/binutils-all/readelf.exp @@ -102,6 +102,7 @@ proc readelf_test { options binary_file regexp_file xfails } { if [istarget "mips*-*-*"] then { if { [istarget "mips*-*-*linux*"] || [istarget "mips*-sde-elf*"] + || [istarget "mips*-mti-elf*"] || [istarget "mips*-*freebsd*"] } then { set target_machine tmips } else { diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index be531577a26..281f9ebaf95 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-11-27 Matthew Fortune + + * gas/mips/mips.exp: Consider mips-mti-elf the same as mips-sde-elf + 2013-11-20 Yufeng Zhang * gas/aarch64/msr.s: Add tests. diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 121566a5301..dfc92d95298 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -466,10 +466,12 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test "vxworks1-xgot-el" } elseif { [istarget mips*-*-*] } { set addr32 [expr [istarget mipstx39*-*-*] || [istarget mips-*-linux*] || [istarget mipsel-*-linux*]] - set has_newabi [expr [istarget *-*-irix6*] || [istarget mips*-*-linux*] || [istarget mips*-sde-elf*]] + set has_newabi [expr [istarget *-*-irix6*] || [istarget mips*-*-linux*] \ + || [istarget mips*-sde-elf*] || [istarget mips*-mti-elf*]] if { [istarget "mips*-*-*linux*"] || [istarget "mips*-sde-elf*"] + || [istarget "mips*-mti-elf*"] || [istarget "mips*-*-*bsd*"] } then { set tmips "t" } else { diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 3ccefaf19a2..fe9589fd801 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-11-27 Matthew Fortune + + * ld-mips-elf/mips-elf.exp: Consider mips-mti-elf the same as + mips-sde-elf + 2013-11-26 H.J. Lu PR ld/16259 diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp index a66a2891ed1..a9d16ec7ffa 100644 --- a/ld/testsuite/ld-mips-elf/mips-elf.exp +++ b/ld/testsuite/ld-mips-elf/mips-elf.exp @@ -55,7 +55,8 @@ if {![istarget mips*-*-*] || ![is_elf_format]} { set has_newabi [expr [istarget *-*-irix6*] \ || [istarget mips*-*-linux*] \ - || [istarget mips*-sde-elf*]] + || [istarget mips*-sde-elf*] \ + || [istarget mips*-mti-elf*]] set linux_gnu [expr [istarget mips*-*-linux*]] set embedded_elf [expr [istarget mips*-*-elf]] @@ -78,7 +79,8 @@ if { [istarget *-*-irix6*] } { set abi_asflags(o32) "-32 -EB" set abi_ldflags(o32) -melf32btsmip_fbsd } -if { [istarget mips*-*-linux*] || [istarget mips*-sde-elf*] } { +if { [istarget mips*-*-linux*] || [istarget mips*-sde-elf*] + || [istarget mips*-mti-elf*] } { set abi_ldflags(n32) -melf32btsmipn32 set abi_ldflags(n64) -melf64btsmip } elseif { [istarget mips64*-*freebsd*] } {