aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-powerpc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-02-08 01:59:38 +0000
committerAlan Modra <amodra@gmail.com>2010-02-08 01:59:38 +0000
commitce3d2015b21ba6aa3d2bb0b0ca88101cec56a7be (patch)
tree0555f5021de308066dc8d7210e9e405c3f2c97b2 /bfd/cpu-powerpc.c
parent06a162cf6325616071ef4c2fc19e8c4d05c64ac1 (diff)
downloadgdb-ce3d2015b21ba6aa3d2bb0b0ca88101cec56a7be.zip
gdb-ce3d2015b21ba6aa3d2bb0b0ca88101cec56a7be.tar.gz
gdb-ce3d2015b21ba6aa3d2bb0b0ca88101cec56a7be.tar.bz2
include/
* opcode/ppc.h (PPC_OPCODE_TITAN): Define. bfd/ * archures.c (bfd_mach_ppc_titan): Define. * bfd-in2.h: Regenerate. * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry. opcodes/ * ppc-dis.c (ppc_opts): Add titan entry. * ppc-opc.c (TITAN, MULHW): Define. (powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx). gas/ * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs. (ppc_mach): Handle titan. * doc/c-ppc.texi: Mention -mtitan. gas/testsuite/ * gas/ppc/titan.d, * gas/ppc/titan.s: New test. * gas/ppc/ppc.exp: Run it.
Diffstat (limited to 'bfd/cpu-powerpc.c')
-rw-r--r--bfd/cpu-powerpc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/cpu-powerpc.c b/bfd/cpu-powerpc.c
index 76eb018..9bd60af 100644
--- a/bfd/cpu-powerpc.c
+++ b/bfd/cpu-powerpc.c
@@ -338,6 +338,20 @@ const bfd_arch_info_type bfd_powerpc_archs[] =
FALSE, /* not the default */
powerpc_compatible,
bfd_default_scan,
+ &bfd_powerpc_archs[18]
+ },
+ {
+ 32, /* 32 bits in a word */
+ 32, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_powerpc,
+ bfd_mach_ppc_titan,
+ "powerpc",
+ "powerpc:titan",
+ 3,
+ FALSE, /* not the default */
+ powerpc_compatible,
+ bfd_default_scan,
0
}
};