diff options
author | Alan Modra <amodra@gmail.com> | 2009-03-10 06:53:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-03-10 06:53:46 +0000 |
commit | 69fe9ce501f5fde501443648fe4243dc9fe8d5b1 (patch) | |
tree | d2d0b3599c1607f427ecb4fcb776604037f82568 /include/opcode/ppc.h | |
parent | 0691f7afbc8ec41ca26f21b5dafc4eeb4ca517eb (diff) | |
download | binutils-69fe9ce501f5fde501443648fe4243dc9fe8d5b1.zip binutils-69fe9ce501f5fde501443648fe4243dc9fe8d5b1.tar.gz binutils-69fe9ce501f5fde501443648fe4243dc9fe8d5b1.tar.bz2 |
include/opcode/
* ppc.h (ppc_parse_cpu): Declare.
opcodes/
* ppc-dis.c: Include "opintl.h".
(struct ppc_mopt, ppc_opts): New.
(ppc_parse_cpu): New function.
(powerpc_init_dialect): Use it.
(print_ppc_disassembler_options): Dump options from ppc_opts.
Internationalize message.
gas/
* config/tc-ppc.c (parse_cpu): Delete.
(md_parse_option, ppc_machine): Use ppc_parse_cpu.
gas/testsuite/
* gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec.
* gas/ppc/common.d: Adjust for -Mcom not including -Mppc.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r-- | include/opcode/ppc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index e45fc58..dc9a7ba 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -1,6 +1,6 @@ /* ppc.h -- Header file for PowerPC opcode table Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. + 2007, 2008, 2009 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support This file is part of GDB, GAS, and the GNU binutils. @@ -351,4 +351,6 @@ struct powerpc_macro extern const struct powerpc_macro powerpc_macros[]; extern const int powerpc_num_macros; +extern ppc_cpu_t ppc_parse_cpu (ppc_cpu_t, const char *); + #endif /* PPC_H */ |