summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2006-05-25 13:12:42 +0000
committerNathan Sidwell <nathan@codesourcery.com>2006-05-25 13:12:42 +0000
commita333305c6e9f45163a2f5e3f2647ddfb6391b60a (patch)
tree42cc9e67453c25a7ca35e6d3d7d9496ff3778e0f
parentf31b7990c6ea8e10e7117f141b781a16275668a2 (diff)
downloadbinutils-redhat-a333305c6e9f45163a2f5e3f2647ddfb6391b60a.tar.gz
* gas/config/tc-m68k.c (mcf52235_ctrl, mcf5225_ctrl): New.
(m68k_cpus): Add 52230, 52233, 52234, 52235, 5224, 5225.
-rw-r--r--ChangeLog.csl5
-rw-r--r--gas/config/tc-m68k.c16
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 048a016cae..3d19c9bed6 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,8 @@
+2006-05-25 Nathan Sidwell <nathan@codesourcery.com>
+
+ * gas/config/tc-m68k.c (mcf52235_ctrl, mcf5225_ctrl): New.
+ (m68k_cpus): Add 52230, 52233, 52234, 52235, 5224, 5225.
+
2006-05-24 Paul Brook <paul@codesourcery.com>
Backport from mainline.
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 6cf85d7e60..5ad330691e 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -188,6 +188,14 @@ static const enum m68k_register mcf5216_ctrl[] = {
VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR,
0
};
+static const enum m68k_register mcf52235_ctrl[] = {
+ VBR, FLASHBAR, RAMBAR,
+ 0
+};
+static const enum m68k_register mcf5225_ctrl[] = {
+ VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, MBAR,
+ 0
+};
static const enum m68k_register mcf5235_ctrl[] = {
VBR, CACR, ACR0, ACR1, RAMBAR,
0
@@ -501,6 +509,14 @@ static const struct m68k_cpu m68k_cpus[] =
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5216_ctrl, "5216", 0},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5216_ctrl, "521x", 2},
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf52235_ctrl, "52230", -1},
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf52235_ctrl, "52233", -1},
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf52235_ctrl, "52234", -1},
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf52235_ctrl, "52235", 0},
+
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5225_ctrl, "5224", -1},
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5225_ctrl, "5225", 0},
+
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5235_ctrl, "5232", -1},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5235_ctrl, "5233", -1},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5235_ctrl, "5234", -1},