This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch] Add fido support (Part 2/n)
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 19 Dec 2006 08:29:38 -0800
- Subject: [patch] Add fido support (Part 2/n)
Hi,
Attached is the second in a series of patches to add fido support to
binutils.
I'm planning to add
#define fido_a 0x200
right after cpu32. This means, I have to shift the rest of macros by
one bit. This patch just does that.
Tested by building binutils. OK to apply?
Kazu Hirata
2006-12-19 Kazu Hirata <kazu@codesourcery.com>
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.
Index: include/opcode/m68k.h
===================================================================
RCS file: /cvs/src/src/include/opcode/m68k.h,v
retrieving revision 1.13
diff -u -d -p -r1.13 m68k.h
--- include/opcode/m68k.h 25 May 2006 08:09:03 -0000 1.13
+++ include/opcode/m68k.h 19 Dec 2006 15:12:05 -0000
@@ -31,18 +31,18 @@
#define m68881 0x040
#define m68851 0x080
#define cpu32 0x100 /* e.g., 68332 */
-#define m68k_mask 0x1ff
+#define m68k_mask 0x3ff
-#define mcfmac 0x200 /* ColdFire MAC. */
-#define mcfemac 0x400 /* ColdFire EMAC. */
-#define cfloat 0x800 /* ColdFire FPU. */
-#define mcfhwdiv 0x1000 /* ColdFire hardware divide. */
+#define mcfmac 0x400 /* ColdFire MAC. */
+#define mcfemac 0x800 /* ColdFire EMAC. */
+#define cfloat 0x1000 /* ColdFire FPU. */
+#define mcfhwdiv 0x2000 /* ColdFire hardware divide. */
-#define mcfisa_a 0x2000 /* ColdFire ISA_A. */
-#define mcfisa_aa 0x4000 /* ColdFire ISA_A+. */
-#define mcfisa_b 0x8000 /* ColdFire ISA_B. */
-#define mcfusp 0x10000 /* ColdFire USP instructions. */
-#define mcf_mask 0x1f200
+#define mcfisa_a 0x4000 /* ColdFire ISA_A. */
+#define mcfisa_aa 0x8000 /* ColdFire ISA_A+. */
+#define mcfisa_b 0x10000 /* ColdFire ISA_B. */
+#define mcfusp 0x20000 /* ColdFire USP instructions. */
+#define mcf_mask 0x3e400
/* Handy aliases. */
#define m68040up (m68040 | m68060)