X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=ppc-dis.c;h=f6fad8861aad1ac39616eb9ee6da9d82559cac0e;hb=c960bde13c2f9c807beb1c4e8c16cfde769e136a;hp=803b9f554cd734063254de6c67bd9e0a90e558ac;hpb=e0727e17f389267b03b0cabcb6d094295819054c;p=qemu diff --git a/ppc-dis.c b/ppc-dis.c index 803b9f5..f6fad88 100644 --- a/ppc-dis.c +++ b/ppc-dis.c @@ -3084,8 +3084,13 @@ int print_insn_ppc (bfd_vma pc, disassemble_info *info) opc = bfd_getb32(buf); else opc = bfd_getl32(buf); - return print_insn_powerpc (info, opc, pc, - PPC | B32 | M601); + if (info->mach == bfd_mach_ppc64) { + return print_insn_powerpc (info, opc, pc, + PPC | B64); + } else { + return print_insn_powerpc (info, opc, pc, + PPC | B32 | M601); + } } /* Print a PowerPC or POWER instruction. */