Patchwork [01/24] disas: Disassemble all ppc insns for the host

login
register
mail settings
Submitter Richard Henderson
Date Feb. 18, 2013, 8:20 p.m.
Message ID <1361218873-1754-2-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/221473/
State New
Headers show

Comments

Richard Henderson - Feb. 18, 2013, 8:20 p.m.
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 disas.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/disas.c b/disas.c
index a46faee..c0ac7ec 100644
--- a/disas.c
+++ b/disas.c
@@ -322,6 +322,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;