diff options
author | Alan Modra <modra@gmail.com> | 2009-03-10 06:53:45 +0000 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2009-03-10 06:53:45 +0000 |
commit | 926aac359facc9942dbaa6ae9b12d897eff79353 (patch) | |
tree | 49cda9818a30f827b80d4cad2d9a349422a3856a /include | |
parent | 71d13bca551f5629a0c903807028088cc97bfc0e (diff) | |
download | cygnal-926aac359facc9942dbaa6ae9b12d897eff79353.tar.gz cygnal-926aac359facc9942dbaa6ae9b12d897eff79353.tar.bz2 cygnal-926aac359facc9942dbaa6ae9b12d897eff79353.zip |
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')
-rw-r--r-- | include/opcode/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/ppc.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 2a03208a9..d974f2dfc 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2009-03-10 Alan Modra <amodra@bigpond.net.au> + + * ppc.h (ppc_parse_cpu): Declare. + 2009-03-02 Qinwei <qinwei@sunnorth.com.cn> * score-inst.h (score_insn_type, score_data_type): Add Ra_I9_I5 diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index e45fc5807..dc9a7ba65 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 */ |