aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@kugelworks.com>2009-07-27 20:07:00 +0000
committerMaxim Kuvyrkov <maxim@kugelworks.com>2009-07-27 20:07:00 +0000
commit46203761a0e714925af3f719e3d2c5bc90e67887 (patch)
tree6f4afb44a53d1eba408f05141afc9f7ef29bd9d3 /gas
parentb345c8c2626b71c56cdcb4793d8e6a8442dd4e95 (diff)
downloadgdb-46203761a0e714925af3f719e3d2c5bc90e67887.zip
gdb-46203761a0e714925af3f719e3d2c5bc90e67887.tar.gz
gdb-46203761a0e714925af3f719e3d2c5bc90e67887.tar.bz2
* config/tc-m68k.c (mcf5221x_ctrl): New.
(m68k_cpu): Add line for MCF5221x.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-m68k.c6
2 files changed, 12 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5a6e6d6..8ff8aec 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,4 +1,9 @@
-2009-07-28 Maxim Kuvyrkov <maxim@codesourcery.com>
+2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * config/tc-m68k.c (mcf5221x_ctrl): New.
+ (m68k_cpu): Add line for MCF5221x.
+
+2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
* config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
(mcf53017_ctrl): Fix RAMBAR.
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 5a2c73c..7bb6828 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -205,6 +205,10 @@ static const enum m68k_register mcf5216_ctrl[] = {
VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
0
};
+static const enum m68k_register mcf5221x_ctrl[] = {
+ VBR, FLASHBAR, RAMBAR, RAMBAR1,
+ 0
+};
static const enum m68k_register mcf52223_ctrl[] = {
VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
0
@@ -622,6 +626,8 @@ 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|mcfmac|mcfusp, mcf5221x_ctrl, "5221x", 0},
+
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf52223_ctrl, "52221", -1},
{mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp, mcf52223_ctrl, "52223", 0},