diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-04-20 14:09:00 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2007-04-20 14:09:00 +0000 |
commit | 5a8716c50e4fa433d6a870439db085d76946f094 (patch) | |
tree | 0eddf8956732e993db1f8f35d8a7538ac44745eb /opcodes | |
parent | 2174b1ceda21985c865501062cb1d3a33982f061 (diff) | |
download | binutils-redhat-5a8716c50e4fa433d6a870439db085d76946f094.tar.gz |
gas/
* config/m68k-parse.h (RAMBAR_ALT): New.
* config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
(mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
RAMBAR1.
(mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
(m68k_cpus): Adjust 5206, 5206e & 5307 entries.
(m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
to control register mapping.
gas/testsuite/
* gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New.
* gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New.
* gas/m68k/all.exp: Add them.
opcodes/
* m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
rambar1.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/m68k-dis.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 329126cc7a..f92ffcc95e 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2007-04-20 Nathan Sidwell <nathan@codesourcery.com> + + * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as + rambar1. + 2007-04-20 Alan Modra <amodra@bigpond.net.au> * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand diff --git a/opcodes/m68k-dis.c b/opcodes/m68k-dis.c index 16ad7e4d58..d964ef4b28 100644 --- a/opcodes/m68k-dis.c +++ b/opcodes/m68k-dis.c @@ -645,7 +645,9 @@ print_insn_arg (const char *d, {"%dtt0",0x006}, {"%dtt1",0x007}, {"%buscr",0x008}, {"%usp", 0x800}, {"%vbr", 0x801}, {"%caar", 0x802}, {"%msp", 0x803}, {"%isp", 0x804}, - {"%flashbar", 0xc04}, {"%rambar", 0xc05}, /* mcf528x added these. */ + /* reg c04 is sometimes called flashbar or rambar. + rec c05 is also sometimes called rambar. */ + {"%rambar0", 0xc04}, {"%rambar1", 0xc05}, /* Should we be calling this psr like we do in case 'Y'? */ {"%mmusr",0x805}, |