disas: Disassemble all ppc insns for the host
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
0ca5aa4f4c
commit
66d4f6a32b
1
disas.c
1
disas.c
@ -325,6 +325,7 @@ void disas(FILE *out, void *code, unsigned long size)
|
|||||||
s.info.mach = bfd_mach_x86_64;
|
s.info.mach = bfd_mach_x86_64;
|
||||||
print_insn = print_insn_i386;
|
print_insn = print_insn_i386;
|
||||||
#elif defined(_ARCH_PPC)
|
#elif defined(_ARCH_PPC)
|
||||||
|
s.info.disassembler_options = (char *)"any";
|
||||||
print_insn = print_insn_ppc;
|
print_insn = print_insn_ppc;
|
||||||
#elif defined(__alpha__)
|
#elif defined(__alpha__)
|
||||||
print_insn = print_insn_alpha;
|
print_insn = print_insn_alpha;
|
||||||
|
Loading…
Reference in New Issue
Block a user