aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-08 02:54:56 +0000
committerAlan Modra <amodra@gmail.com>2009-09-08 02:54:56 +0000
commitbad6899a88db7844873826d987b969e7b259060c (patch)
treea9254fe77504f2b64eee00d88e12941ddbe78e55
parentd981b346f0ebc91643595b9cfaf47cde38a35478 (diff)
downloadgdb-bad6899a88db7844873826d987b969e7b259060c.zip
gdb-bad6899a88db7844873826d987b969e7b259060c.tar.gz
gdb-bad6899a88db7844873826d987b969e7b259060c.tar.bz2
* 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.
-rw-r--r--gas/testsuite/ChangeLog8
-rw-r--r--gas/testsuite/gas/all/align.d1
-rw-r--r--gas/testsuite/gas/all/gas.exp8
-rw-r--r--gas/testsuite/gas/all/incbin.d1
-rw-r--r--gas/testsuite/gas/elf/ifunc-1.d1
-rw-r--r--gas/testsuite/gas/macros/semi.d1
6 files changed, 19 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 6d818e9..e0fcb9e 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2009-09-08 Alan Modra <amodra@bigpond.net.au>
+
+ * 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 <jie.zhang@analog.com>
* 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 86ede61..32c99d6 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 b5f7f29..2b93f57 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 62f6ae7..6505dc5 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 efdd59c..112c896 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 ae89e73..8701710 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-*
.*: .*