diff options
author | Alan Modra <amodra@gmail.com> | 2020-07-07 11:50:52 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-07-07 18:26:34 +0930 |
commit | 34e7979860c303d0c16e21e5033246277826c3a6 (patch) | |
tree | e83a9325ccfe2eeff5a3f0bc335eba0d8f77f0c8 | |
parent | 5a2296ac1b3c26cab589bddfded07a560e434d03 (diff) | |
download | gdb-34e7979860c303d0c16e21e5033246277826c3a6.zip gdb-34e7979860c303d0c16e21e5033246277826c3a6.tar.gz gdb-34e7979860c303d0c16e21e5033246277826c3a6.tar.bz2 |
Use is_xcoff_format in gas testsuite
* testsuite/gas/all/gas.exp: Use is_xcoff_format.
* testsuite/gas/ppc/ppc.exp: Likewise.
* testsuite/gas/all/weakref1l.d: Likewise.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/all/gas.exp | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/all/weakref1l.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/ppc.exp | 4 |
4 files changed, 11 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 64c58e0..90dc101 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2020-07-07 Alan Modra <amodra@gmail.com> + + * testsuite/gas/all/gas.exp: Use is_xcoff_format. + * testsuite/gas/ppc/ppc.exp: Likewise. + * testsuite/gas/all/weakref1l.d: Likewise. + 2020-07-07 Nick Clifton <nickc@redhat.com> * testsuite/gas/arm/cde-missing-fp.l: Fix spelling mistake in diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index c782955..5496d0b 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -161,7 +161,9 @@ switch -glob $target_triplet { setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" "rl78-*-*" setup_xfail "riscv*-*-*" "rx-*-*" "vax*-*-*" "xgate*-*-*" "z8k-*-*" # rs6000-aix disallows redefinition via .comm. - setup_xfail "*-*-aix*" + if [is_xcoff_format] { + setup_xfail *-*-* + } # These targets fail redef3 because section contents for the # word referencing the .comm sym is not zero and/or its reloc # has a non-zero addend. Relaxing the test would hide real diff --git a/gas/testsuite/gas/all/weakref1l.d b/gas/testsuite/gas/all/weakref1l.d index 4172e4c..3a42c00 100644 --- a/gas/testsuite/gas/all/weakref1l.d +++ b/gas/testsuite/gas/all/weakref1l.d @@ -3,7 +3,7 @@ #source: weakref1.s # aix drops local symbols # see weakref1.d for comments on the other notargets -#notarget: *-*-aix* alpha*-*-osf* *-*-ecoff pdp11-*-aout +#notarget: [is_xcoff_format] alpha*-*-osf* *-*-ecoff pdp11-*-aout # the rest of this file is generated with the following script: # # script begin diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index 48c4ce6..4fb0661 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -44,9 +44,7 @@ run_dump_test "altivec_and_spe" run_list_test "range" "-a32" run_dump_test "cell" -if { [istarget "*-*-aix*"] - || [istarget "*-*-macos*"] - || [istarget "*-*-beos*"] } then { +if { [is_xcoff_format] } then { run_dump_test "test1xcoff32" run_dump_test "test2xcoff32" run_dump_test "altivec_xcoff" |