aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2006-09-11 11:34:51 +0000
committerNathan Sidwell <nathan@codesourcery.com>2006-09-11 11:34:51 +0000
commit3d2cb0c6e684962815de6b6d254185229841445d (patch)
tree9321132fd3299f285889ba297bc6318084ad6019
parentf0fc286c0d3e93bfbb39283f79ae4bf082cef1d1 (diff)
gas/
* config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New. (m68k_cpus): Add 5210a & 5211a.
-rw-r--r--ChangeLog.csl6
-rw-r--r--gas/config/tc-m68k.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 71b212f21d0..9e03ee2b682 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,9 @@
+2006-09-11 Nathan Sidwell <nathan@codesourcery.com>
+
+ gas/
+ * config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New.
+ (m68k_cpus): Add 5210a & 5211a.
+
2006-09-10 Nathan Sidwell <nathan@codesourcery.com>
bfd/
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 5ad330691e1..ff9539e0111 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -180,6 +180,10 @@ static const enum m68k_register mcf5208_ctrl[] = {
CACR, ACR0, ACR1, VBR, RAMBAR1,
0
};
+static const enum m68k_register mcf5210a_ctrl[] = {
+ VBR, CACR, ACR0, ACR1, ROMBAR, RAMBAR, MBAR,
+ 0
+};
static const enum m68k_register mcf5213_ctrl[] = {
VBR, RAMBAR, FLASHBAR,
0
@@ -501,6 +505,9 @@ static const struct m68k_cpu m68k_cpus[] =
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5208_ctrl, "5207", -1},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5208_ctrl, "5208", 0},
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5210a_ctrl, "5210a", 0},
+ {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5210a_ctrl, "5211a", 1},
+
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5213_ctrl, "5211", -1},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5213_ctrl, "5212", -1},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf5213_ctrl, "5213", 0},