include/
authorAlan Modra <amodra@gmail.com>
Thu, 15 Mar 2012 12:58:48 +0000 (12:58 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Mar 2012 12:58:48 +0000 (12:58 +0000)
commitb240011aba98dd8a0c4736a51afcea38af814200
tree2cc895e2ccef08761fd87a9fe9fbd164c7520009
parentfc3e51758a16508acb99feaafd0b63487487bd4f
include/
* dis-asm.h (disassemble_init_powerpc): Declare.
opcodes/
* disassemble.c (disassemble_init_for_target): Handle ppc init.
* ppc-dis.c (private): New var.
(powerpc_init_dialect): Don't return calloc failure, instead use
private.
(PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
(powerpc_opcd_indices): New array.
(disassemble_init_powerpc): New function.
(print_insn_big_powerpc): Don't init dialect here.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Start search using powerpc_opcd_indices.
include/ChangeLog
include/dis-asm.h
opcodes/ChangeLog
opcodes/disassemble.c
opcodes/ppc-dis.c