* config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
authorKazu Hirata <kazu@codesourcery.com>
Tue, 28 Aug 2007 13:36:35 +0000 (13:36 +0000)
committerKazu Hirata <kazu@codesourcery.com>
Tue, 28 Aug 2007 13:36:35 +0000 (13:36 +0000)
(m68k_cpus): Define 51QE cpu.

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

index e4f44fae8d1a356f3aa271d3074c2c585a0fb384..4e91f9294aaa41b95ba4901f9d2d22d2a8d9e0ed 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
+       (m68k_cpus): Define 51QE cpu.
+
 2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
             Joseph Myers  <joseph@codesourcery.com>
 
index 65c166d24f8110796652d3d46db0073f7306b06a..e82123787a7db8fa02a0cdf93755fc52c0448cb3 100644 (file)
@@ -176,6 +176,10 @@ static const enum m68k_register mcf_ctrl[] = {
   RAMBAR0, RAMBAR1, RAMBAR, MBAR,
   0
 };
+static const enum m68k_register mcf51qe_ctrl[] = {
+  VBR,
+  0
+};
 static const enum m68k_register mcf5206_ctrl[] = {
   CACR, ACR0, ACR1,  VBR, RAMBAR0, RAMBAR_ALT, MBAR,
   0
@@ -559,6 +563,8 @@ static const struct m68k_cpu m68k_cpus[] =
   {cpu32|m68881,                               cpu32_ctrl, "68341", 1},
   {cpu32|m68881,                               cpu32_ctrl, "68349", 1},
   {cpu32|m68881,                               cpu32_ctrl, "68360", 1},
+
+  {mcfisa_a|mcfisa_c|mcfusp,                    mcf51qe_ctrl, "51qe", 0},
   
   {mcfisa_a,                                   mcf_ctrl, "5200", 0},
   {mcfisa_a,                                   mcf_ctrl, "5202", 1},