diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2007-06-18 16:10:27 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2007-06-18 16:10:27 +0000 |
commit | 2091fcb4150b2118d85214c2a313d6577c49f0c4 (patch) | |
tree | 158271e0587caecc9010be9c82641809f279358c | |
parent | f411ad342113bc3cd27f678d0f70aab86ca85d70 (diff) | |
download | binutils-redhat-2091fcb4150b2118d85214c2a313d6577c49f0c4.tar.gz |
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.
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/all.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/mcf-wdebug.d | 11 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/mcf-wdebug.s | 6 | ||||
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/m68k-opc.c | 2 |
6 files changed, 30 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e6ea7aeaf0..a4cf81d5a8 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 cafae92d19..d4c0cdc7d9 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 0000000000..257d1e3860 --- /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 0000000000..36b9f27df9 --- /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) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 98d38fae7c..eebe25b220 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2007-06-18 Nathan Sidwell <nathan@codesourcery.com> + + * m68k-opc.c (m68k_opcodes): Add wdebugl variants. + 2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. diff --git a/opcodes/m68k-opc.c b/opcodes/m68k-opc.c index b0f1885aff..12cd14a13d 100644 --- a/opcodes/m68k-opc.c +++ b/opcodes/m68k-opc.c @@ -2176,6 +2176,8 @@ TBL("tblunb", "tblunw", "tblunl", 0, 0), {"wddataw", 2, one(0175500), one(0177700), "~s", mcfisa_a }, {"wddatal", 2, one(0175600), one(0177700), "~s", mcfisa_a }, +{"wdebugl", 4, two(0175720, 03), two(0177770, 0xffff), "as", mcfisa_a }, +{"wdebugl", 4, two(0175750, 03), two(0177770, 0xffff), "ds", mcfisa_a }, {"wdebug", 4, two(0175720, 03), two(0177770, 0xffff), "as", mcfisa_a }, {"wdebug", 4, two(0175750, 03), two(0177770, 0xffff), "ds", mcfisa_a }, }; |