This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch] m68k: Add wdebugl.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Cc: nathan at codesourcery dot com
- Date: Wed, 13 Jun 2007 05:46:58 -0700
- Subject: [patch] m68k: Add wdebugl.
Hi,
Attached is a patch to add wdebugl.
Without this patch,
wdebug.l (%a0)
is not recognized even though wdebug (without .l) is recognized.
The patch fixes the problem by adding wdebugl.
Tested by assembling wdebug.l. OK to apply?
Kazu Hirata
2007-06-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k-opc.c (m68k_opcodes): Add wdebugl variants.
Index: opcodes/m68k-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/m68k-opc.c,v
retrieving revision 1.24
diff -u -d -p -r1.24 m68k-opc.c
--- opcodes/m68k-opc.c 23 Apr 2007 07:51:33 -0000 1.24
+++ opcodes/m68k-opc.c 13 Jun 2007 10:33:20 -0000
@@ -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 },
};