aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-06-18 16:10:27 +0000
committerKazu Hirata <kazu@codesourcery.com>2007-06-18 16:10:27 +0000
commitddefa7f50892ef835baf283217701cc9acb45418 (patch)
tree12bcbd8ff087a978a7859e5052bc7b2aaa11af1c /gas
parent03997556dae335abff76e00a41d1459e4bfa6ed1 (diff)
downloadfsf-binutils-gdb-ddefa7f50892ef835baf283217701cc9acb45418.zip
fsf-binutils-gdb-ddefa7f50892ef835baf283217701cc9acb45418.tar.gz
fsf-binutils-gdb-ddefa7f50892ef835baf283217701cc9acb45418.tar.bz2
opcodes/
* m68k-opc.c (m68k_opcodes): Add wdebugl variants. gas/testsuite/ * gas/m68k/all.exp: Run mcf-wdebug. * gas/testsuite/gas/m68k/mcf-wdebug.d, gas/testsuite/gas/m68k/mcf-wdebug.s: New.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/m68k/all.exp1
-rw-r--r--gas/testsuite/gas/m68k/mcf-wdebug.d11
-rw-r--r--gas/testsuite/gas/m68k/mcf-wdebug.s6
4 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index e6ea7ae..a4cf81d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-18 Kazu Hirata <kazu@codesourcery.com>
+
+ * gas/m68k/all.exp: Run mcf-wdebug.
+ * gas/testsuite/gas/m68k/mcf-wdebug.d,
+ gas/testsuite/gas/m68k/mcf-wdebug.s: New.
+
2007-06-14 Paul Brook <paul@codesourcery.com>
* gas/arm/thumb32.s: Add tests for shift instructions.
diff --git a/gas/testsuite/gas/m68k/all.exp b/gas/testsuite/gas/m68k/all.exp
index cafae92..d4c0cdc 100644
--- a/gas/testsuite/gas/m68k/all.exp
+++ b/gas/testsuite/gas/m68k/all.exp
@@ -54,6 +54,7 @@ if { [istarget m68*-*-*] || [istarget fido*-*-*] } then {
run_dump_test mcf-emac
run_dump_test mcf-fpu
run_dump_test mcf-trap
+ run_dump_test mcf-wdebug
if { [istarget *-*-elf] || [istarget *-*-linux*] } then {
run_dump_test arch-cpu-1
}
diff --git a/gas/testsuite/gas/m68k/mcf-wdebug.d b/gas/testsuite/gas/m68k/mcf-wdebug.d
new file mode 100644
index 0000000..257d1e3
--- /dev/null
+++ b/gas/testsuite/gas/m68k/mcf-wdebug.d
@@ -0,0 +1,11 @@
+#name: mcf-wdebug
+#objdump: -d
+#as: -m5208
+
+.*: file format .*
+
+Disassembly of section .text:
+
+0+ <foo>:
+ 0: fbd0 0003 wdebugl %a0@
+ 4: fbd0 0003 wdebugl %a0@
diff --git a/gas/testsuite/gas/m68k/mcf-wdebug.s b/gas/testsuite/gas/m68k/mcf-wdebug.s
new file mode 100644
index 0000000..36b9f27
--- /dev/null
+++ b/gas/testsuite/gas/m68k/mcf-wdebug.s
@@ -0,0 +1,6 @@
+# Check that gas recognizes both wdebug and wdebug.l.
+ .text
+ .globl foo
+foo:
+ wdebug (%a0)
+ wdebug.l (%a0)