gas/
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 11 Sep 2006 11:34:51 +0000 (11:34 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Mon, 11 Sep 2006 11:34:51 +0000 (11:34 +0000)
* config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New.
(m68k_cpus): Add 5210a & 5211a.

ChangeLog.csl
gas/config/tc-m68k.c

index 71b212f..9e03ee2 100644 (file)
@@ -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/
index 5ad3306..ff9539e 100644 (file)
@@ -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},