diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-02-20 09:25:45 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2007-02-20 09:25:45 +0000 |
commit | 96e0bbccb7334a9244a8d76137bf8a39a283974f (patch) | |
tree | 103f4c6edb83325ac3a3101a112a7fa4f2263533 /gas | |
parent | 6a4669ea53eb49d3caeaa5dcc1a737e9acef530f (diff) | |
download | gdb-96e0bbccb7334a9244a8d76137bf8a39a283974f.zip gdb-96e0bbccb7334a9244a8d76137bf8a39a283974f.tar.gz gdb-96e0bbccb7334a9244a8d76137bf8a39a283974f.tar.bz2 |
* config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
(m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-m68k.c | 23 |
2 files changed, 28 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e68439d..e692b9e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2007-02-20 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New. + (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225. + 2007-02-18 Alan Modra <amodra@bigpond.net.au> * write.c (TC_FX_SIZE_SLACK): Define. diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index e286f68..2bec370 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 @@ -188,6 +192,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 @@ -525,6 +537,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}, @@ -533,6 +548,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}, |