aboutsummaryrefslogtreecommitdiff
path: root/gas/config/m68k-parse.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-04-20 14:09:00 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-04-20 14:09:00 +0000
commit7833670643b856c2e39db33abdfb26adc668b37a (patch)
treef35e0cffba35b7cc1e827c912c9ed31129b6285a /gas/config/m68k-parse.h
parentc6e15d68d9134a5493abf7c1fc8ac2c30daa7dee (diff)
downloadgdb-7833670643b856c2e39db33abdfb26adc668b37a.zip
gdb-7833670643b856c2e39db33abdfb26adc668b37a.tar.gz
gdb-7833670643b856c2e39db33abdfb26adc668b37a.tar.bz2
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 'gas/config/m68k-parse.h')
-rw-r--r--gas/config/m68k-parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/m68k-parse.h b/gas/config/m68k-parse.h
index 6bd85cd..4351609 100644
--- a/gas/config/m68k-parse.h
+++ b/gas/config/m68k-parse.h
@@ -113,6 +113,8 @@ enum m68k_register
BUSCR, /* 68060 added these. */
PCR,
ROMBAR, /* mcf5200 added these. */
+ RAMBAR_ALT, /* Some CF chips have RAMBAR using
+ RAMBAR0's number */
RAMBAR0,
RAMBAR1,
MMUBAR, /* mcfv4e added these. */