From e6e7b7c49f960641ce1a97b967ca800128b1bf55 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 23 Feb 2016 00:05:27 +0000 Subject: [PATCH] gas: Update tests for big-endian arc targets Some gas tests are excluded for arc targets using the pattern arc-*-*, however this only covers little endian arc targets. This commit extends the patter to cover big endian arc targets, the pattern is now arc*-*-*. gas/ChangeLog: * testsuite/gas/all/gas.exp: Change target pattern to cover arceb-*. * testsuite/gas/all/redef3.d: Likewise. * testsuite/gas/elf/elf.exp: Likewise. --- gas/ChangeLog | 7 +++++++ gas/testsuite/gas/all/gas.exp | 2 +- gas/testsuite/gas/all/redef3.d | 2 +- gas/testsuite/gas/elf/elf.exp | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index d74e20053e..e4b4deb0ad 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2016-02-25 Andrew Burgess + + * testsuite/gas/all/gas.exp: Change target pattern to cover + arceb-*. + * testsuite/gas/all/redef3.d: Likewise. + * testsuite/gas/elf/elf.exp: Likewise. + 2016-02-24 Renlin Li * config/tc-arm.c (BAD_FP16): New error message macro. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index eba08eaa33..08f5236bbd 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -152,7 +152,7 @@ case $target_triplet in { run_dump_test redef # These targets fail redef2 because they disallow redefined # symbols on relocs. - setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" "arc-*-*" + setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" "arc*-*-*" setup_xfail "rx-*-*" "vax*-*-*" "xgate*-*-*" "z8k-*-*" run_dump_test redef2 setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" diff --git a/gas/testsuite/gas/all/redef3.d b/gas/testsuite/gas/all/redef3.d index a16fac3c9b..f5bdb46b04 100644 --- a/gas/testsuite/gas/all/redef3.d +++ b/gas/testsuite/gas/all/redef3.d @@ -1,6 +1,6 @@ #objdump: -rsj .data #name: .equ redefinitions (3) -#not-target: arc-*-* *-*darwin* +#not-target: arc*-*-* *-*darwin* .*: .* diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 2ed764d2e1..a2a86dd299 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -150,7 +150,7 @@ if { [is_elf_format] } then { # against ordinary symbols into relocations against section symbols. # This is usually revealed by the error message: # symbol `sym' required but not present - setup_xfail "m681*-*-*" "m68hc*-*-*" "arc-*-*" + setup_xfail "m681*-*-*" "m68hc*-*-*" "arc*-*-*" run_dump_test redef run_dump_test equ-reloc }