From 70a1e517964a6f75c3e3fe44db1c413124aba973 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Fri, 1 Feb 2008 17:58:48 +0000 Subject: [PATCH] 2008-01-31 Marc Gauthier bfd/ * config.bfd (xtensa*-*-*): Recognize processor variants. gas/ * configure.tgt (xtensa*-*-*): Recognize processor variants. gas/testsuite/ * gas/all/gas.exp: Recognize Xtensa processor variants. * gas/elf/elf.exp: Likewise. * gas/lns/lns.exp: Likewise. ld/ * configure.tgt (xtensa*-*-*): Recognize processor variants. ld/testsuite/ * ld-elf/merge.d: Recognize Xtensa processor variants. * ld-xtensa/coalesce.exp: Likewise. * ld-xtensa/lcall.exp: Likewise. --- bfd/ChangeLog | 4 ++++ bfd/config.bfd | 2 +- gas/ChangeLog | 4 ++++ gas/configure.tgt | 2 +- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/all/gas.exp | 2 +- gas/testsuite/gas/elf/elf.exp | 2 +- gas/testsuite/gas/lns/lns.exp | 2 +- ld/ChangeLog | 4 ++++ ld/configure.tgt | 2 +- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-elf/merge.d | 2 +- ld/testsuite/ld-xtensa/coalesce.exp | 2 +- ld/testsuite/ld-xtensa/lcall.exp | 2 +- 14 files changed, 33 insertions(+), 9 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 782c784be..76b95d82e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2008-01-31 Marc Gauthier + + * config.bfd (xtensa*-*-*): Recognize processor variants. + 2008-01-31 Nick Clifton PR ld/5692 diff --git a/bfd/config.bfd b/bfd/config.bfd index 69a70f6cc..e0df15f4b 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -1474,7 +1474,7 @@ case "${targ}" in targ_defvec=bfd_elf32_xstormy16_vec ;; - xtensa-*-*) + xtensa*-*-*) targ_defvec=bfd_elf32_xtensa_le_vec targ_selvecs=bfd_elf32_xtensa_be_vec ;; diff --git a/gas/ChangeLog b/gas/ChangeLog index 2dec3db14..2ecfdef81 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2008-01-31 Marc Gauthier + + * configure.tgt (xtensa*-*-*): Recognize processor variants. + 2008-01-25 Kai Tietz * read.c: (emit_expr): Correct for mingw use of printf size diff --git a/gas/configure.tgt b/gas/configure.tgt index de1b676e5..1d7e10d01 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -392,7 +392,7 @@ case ${generic_target} in xstormy16-*-*) fmt=elf ;; - xtensa-*-*) fmt=elf ;; + xtensa*-*-*) fmt=elf ;; z80-*-coff) fmt=coff ;; diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 519931d49..2cd9b343b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-01-31 Marc Gauthier + + * gas/all/gas.exp: Recognize Xtensa processor variants. + * gas/elf/elf.exp: Likewise. + * gas/lns/lns.exp: Likewise. + 2008-01-28 H.J. Lu * gas/cfi/cfi-alpha-1.d: Replace DW_CFA_def_cfa_reg with diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 370fd8ba6..11d7b53df 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -75,7 +75,7 @@ case $target_triplet in { # Some targets don't manage to resolve BFD_RELOC_8 for constants. setup_xfail "alpha*-*-*" "avr-*-*" "*c30*-*-*" "*c4x*-*-*" \ "d\[13\]0v*-*-*" "i860-*-*" "mips*-*-*" "msp430-*-*" \ - "pdp11-*-*" "sparc*-*-*" "xtensa-*-*" + "pdp11-*-*" "sparc*-*-*" "xtensa*-*-*" run_dump_test forward } } diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 2af7e38b3..a1132d3fd 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -59,7 +59,7 @@ if { ([istarget "*-*-*elf*"] if {[istarget "score-*-*"]} then { set target_machine -score } - if {[istarget "xtensa-*-*"]} then { + if {[istarget "xtensa*-*-*"]} then { set target_machine -xtensa } if { ([istarget "*arm*-*-*"] diff --git a/gas/testsuite/gas/lns/lns.exp b/gas/testsuite/gas/lns/lns.exp index e3f176fe2..acb2a9d6d 100644 --- a/gas/testsuite/gas/lns/lns.exp +++ b/gas/testsuite/gas/lns/lns.exp @@ -20,7 +20,7 @@ if { && ![istarget s390*-*-*] } { # Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes. - if { [istarget xtensa-*-*] } { + if { [istarget xtensa*-*-*] } { run_dump_test "lns-common-1-alt" run_dump_test "lns-big-delta" } elseif { [istarget ia64*-*-*] } { diff --git a/ld/ChangeLog b/ld/ChangeLog index 53a9b8802..0d648922c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2008-01-31 Marc Gauthier + + * configure.tgt (xtensa*-*-*): Recognize processor variants. + 2008-01-28 Fabian Groffen * configure.tgt (x86_64-*-solaris2): Add support for this target. diff --git a/ld/configure.tgt b/ld/configure.tgt index 0f3a454ea..03143d80c 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -626,7 +626,7 @@ xc16x-*-elf) targ_emul=elf32xc16x ;; xstormy16-*-*) targ_emul=elf32xstormy16 ;; -xtensa-*-*) targ_emul=elf32xtensa +xtensa*-*-*) targ_emul=elf32xtensa ;; z80-*-coff) targ_emul=z80 ;; diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 8879a4aa2..a2596f537 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-01-31 Marc Gauthier + + * ld-elf/merge.d: Recognize Xtensa processor variants. + * ld-xtensa/coalesce.exp: Likewise. + * ld-xtensa/lcall.exp: Likewise. + 2008-01-28 Petr Muller * ld-elfvers/vers.exp (test_ar): Sort the expected output so that diff --git a/ld/testsuite/ld-elf/merge.d b/ld/testsuite/ld-elf/merge.d index bc5a7b2b4..4a7eefc07 100644 --- a/ld/testsuite/ld-elf/merge.d +++ b/ld/testsuite/ld-elf/merge.d @@ -5,7 +5,7 @@ #xfail: "dlx-*-*" "fr30-*-*" "frv-*-*" "hppa*-*-*" "h8300-*-*" "score-*-*" #xfail: "i370-*-*" "i860-*-*" "i960-*-*" "ip2k-*-*" "iq2000-*-*" #xfail: "mcore-*-*" "mn102*-*-*" "mips*-*-*" "ms1-*-*" "msp430-*-*" -#xfail: "or32-*-*" "pj-*-*" "sparc*-*-*" "vax-*-*" "xstormy16-*-*" "xtensa-*-*" +#xfail: "or32-*-*" "pj-*-*" "sparc*-*-*" "vax-*-*" "xstormy16-*-*" "xtensa*-*-*" .*: file format .*elf.* diff --git a/ld/testsuite/ld-xtensa/coalesce.exp b/ld/testsuite/ld-xtensa/coalesce.exp index 350b8fb92..c54e276f0 100644 --- a/ld/testsuite/ld-xtensa/coalesce.exp +++ b/ld/testsuite/ld-xtensa/coalesce.exp @@ -20,7 +20,7 @@ # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, # MA 02110-1301, USA. -if ![istarget "xtensa-*-*"] { +if ![istarget "xtensa*-*-*"] { return } diff --git a/ld/testsuite/ld-xtensa/lcall.exp b/ld/testsuite/ld-xtensa/lcall.exp index 28f0ee5f7..6ab19b8b9 100644 --- a/ld/testsuite/ld-xtensa/lcall.exp +++ b/ld/testsuite/ld-xtensa/lcall.exp @@ -20,7 +20,7 @@ # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, # MA 02110-1301, USA. -if ![istarget "xtensa-*-*"] { +if ![istarget "xtensa*-*-*"] { return } -- 2.11.4.GIT