From bad6899a88db7844873826d987b969e7b259060c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 8 Sep 2009 02:54:56 +0000 Subject: [PATCH] * gas/all/gas.exp (do_comment): Don't run on m32c. * gas/all/align.d: Likewise. * gas/all/incbin.d: Likewise. * gas/macros/semi.d: Likewise. * gas/elf/ifunc-1.d: Don't run on alpha. --- gas/testsuite/ChangeLog | 8 ++++++++ gas/testsuite/gas/all/align.d | 1 + gas/testsuite/gas/all/gas.exp | 8 +++++++- gas/testsuite/gas/all/incbin.d | 1 + gas/testsuite/gas/elf/ifunc-1.d | 1 + gas/testsuite/gas/macros/semi.d | 1 + 6 files changed, 19 insertions(+), 1 deletion(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6d818e93f6b..e0fcb9e1196 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2009-09-08 Alan Modra + + * gas/all/gas.exp (do_comment): Don't run on m32c. + * gas/all/align.d: Likewise. + * gas/all/incbin.d: Likewise. + * gas/macros/semi.d: Likewise. + * gas/elf/ifunc-1.d: Don't run on alpha. + 2009-09-04 Jie Zhang * gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check diff --git a/gas/testsuite/gas/all/align.d b/gas/testsuite/gas/all/align.d index 86ede6186a9..32c99d673ab 100644 --- a/gas/testsuite/gas/all/align.d +++ b/gas/testsuite/gas/all/align.d @@ -1,5 +1,6 @@ #objdump: -s -j .text #name: align +#not-target: m32c-* # Test the alignment pseudo-op. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index b5f7f292367..2b93f57f4a3 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -144,7 +144,13 @@ proc do_comment {} { if [all_ones $x1 $x2 $x3] then { pass $testname } else { fail $testname } } -do_comment +# m32c pads out sections, even empty ones. +case $target_triplet in { + { m32c-*-* } { } + default { + do_comment + } +} # This test checks the output of the -ag switch. It must detect at least # the name of the input file, output file, and options passed. diff --git a/gas/testsuite/gas/all/incbin.d b/gas/testsuite/gas/all/incbin.d index 62f6ae78103..6505dc54c26 100644 --- a/gas/testsuite/gas/all/incbin.d +++ b/gas/testsuite/gas/all/incbin.d @@ -1,6 +1,7 @@ #as: -I$srcdir/$subdir #objdump: -s -j .text #name: incbin +#not-target: m32c-* # Test the incbin pseudo-op diff --git a/gas/testsuite/gas/elf/ifunc-1.d b/gas/testsuite/gas/elf/ifunc-1.d index efdd59c4173..112c8968857 100644 --- a/gas/testsuite/gas/elf/ifunc-1.d +++ b/gas/testsuite/gas/elf/ifunc-1.d @@ -1,5 +1,6 @@ #readelf: -s #name: .set with IFUNC +#not-target: alpha* #... [ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+IFUNC[ ]+GLOBAL[ ]+DEFAULT[ ]+[1-9] __GI_foo diff --git a/gas/testsuite/gas/macros/semi.d b/gas/testsuite/gas/macros/semi.d index ae89e738592..870171027d7 100644 --- a/gas/testsuite/gas/macros/semi.d +++ b/gas/testsuite/gas/macros/semi.d @@ -1,5 +1,6 @@ #objdump: -s -j .text #name: semi +#not-target: m32c-* .*: .* -- 2.30.2