aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-11-12 00:29:12 +0000
committerAlan Modra <amodra@gmail.com>2007-11-12 00:29:12 +0000
commit2c524891fc22f292c02467c99ebb5a1615f84f6e (patch)
tree249b473fbaee41c4de4cab65dd1ff2b4cc5fe629 /gas
parent2ad068bef29ed040ce393685858531f8b7c96007 (diff)
downloadgdb-2c524891fc22f292c02467c99ebb5a1615f84f6e.zip
gdb-2c524891fc22f292c02467c99ebb5a1615f84f6e.tar.gz
gdb-2c524891fc22f292c02467c99ebb5a1615f84f6e.tar.bz2
* gas/ppc/regnames.d: New.
* gas/ppc/regnames.s: Likewise. * gas/ppc/ppc.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/ppc/ppc.exp1
-rw-r--r--gas/testsuite/gas/ppc/regnames.d8
-rw-r--r--gas/testsuite/gas/ppc/regnames.s3
4 files changed, 18 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index cab5e4b..1859b5c 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-12 Tristan Gingold <gingold@adacore.com>
+
+ * gas/ppc/regnames.d: New.
+ * gas/ppc/regnames.s: Likewise.
+ * gas/ppc/ppc.exp: Run it.
+
2007-11-07 Tristan Gingold <gingold@adacore.com>
* ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp
index 69d1f4a..817f505 100644
--- a/gas/testsuite/gas/ppc/ppc.exp
+++ b/gas/testsuite/gas/ppc/ppc.exp
@@ -30,6 +30,7 @@ if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then {
if { [istarget powerpc*-*-*] } then {
run_dump_test "simpshft"
run_dump_test "machine"
+ run_dump_test "regnames"
if { [istarget powerpc-*-*aix*] } then {
run_dump_test "altivec_xcoff"
diff --git a/gas/testsuite/gas/ppc/regnames.d b/gas/testsuite/gas/ppc/regnames.d
new file mode 100644
index 0000000..ebc6b42
--- /dev/null
+++ b/gas/testsuite/gas/ppc/regnames.d
@@ -0,0 +1,8 @@
+#as: -mregnames
+#objdump: -s -j .text
+#name: PowerPC symbolic regnames
+
+.*
+
+Contents of section \.text:
+ 0000 4fbdcb82 88850004 .*
diff --git a/gas/testsuite/gas/ppc/regnames.s b/gas/testsuite/gas/ppc/regnames.s
new file mode 100644
index 0000000..dc15513
--- /dev/null
+++ b/gas/testsuite/gas/ppc/regnames.s
@@ -0,0 +1,3 @@
+ .text
+ cror 4*%cr7+gt,%cr7*4+gt,4*%cr6+gt
+ lbz r4,4(r5)