* gas/config/tc-m68k.c (mcf52235_ctrl, mcf5225_ctrl): New.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 25 May 2006 13:12:42 +0000 (13:12 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Thu, 25 May 2006 13:12:42 +0000 (13:12 +0000)
(m68k_cpus): Add 52230, 52233, 52234, 52235, 5224, 5225.

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

index 048a016..3d19c9b 100644 (file)
@@ -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.
index 6cf85d7..5ad3306 100644 (file)
@@ -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},