aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-01-31 11:16:21 -0800
committerRichard Henderson <rth@twiddle.net>2013-04-15 19:44:35 +0200
commit66d4f6a32bf5aa0e3e20c1da11ecc75f8b566899 (patch)
tree05a52e0bcc049c38066b245511133ce96ded5fe8 /disas.c
parent0ca5aa4f4c4a8bcc73988dd52a536241d35e5223 (diff)
disas: Disassemble all ppc insns for the host
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disas.c b/disas.c
index 74d3ba0563..67103e08e2 100644
--- a/disas.c
+++ b/disas.c
@@ -325,6 +325,7 @@ void disas(FILE *out, void *code, unsigned long size)
s.info.mach = bfd_mach_x86_64;
print_insn = print_insn_i386;
#elif defined(_ARCH_PPC)
+ s.info.disassembler_options = (char *)"any";
print_insn = print_insn_ppc;
#elif defined(__alpha__)
print_insn = print_insn_alpha;