diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-23 22:39:53 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-23 22:39:53 +0000 |
commit | a2458627f9d29675ef29d2a3c8c6a3df99bedfb1 (patch) | |
tree | f43a0db2ac1288adebae9b6ef00b19c5745ba27e /disas.c | |
parent | b1fc0348b1ddc935fca98bddc7ee1c8c64e91f0b (diff) | |
download | qemu-a2458627f9d29675ef29d2a3c8c6a3df99bedfb1.tar.gz qemu-a2458627f9d29675ef29d2a3c8c6a3df99bedfb1.tar.bz2 qemu-a2458627f9d29675ef29d2a3c8c6a3df99bedfb1.zip |
ppc64 target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1523 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'disas.c')
-rw-r--r-- | disas.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -179,6 +179,11 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags) #elif defined(TARGET_PPC) if (cpu_single_env->msr[MSR_LE]) disasm_info.endian = BFD_ENDIAN_LITTLE; +#ifdef TARGET_PPC64 + disasm_info.mach = bfd_mach_ppc64; +#else + disasm_info.mach = bfd_mach_ppc; +#endif print_insn = print_insn_ppc; #elif defined(TARGET_MIPS) print_insn = print_insn_big_mips; @@ -355,6 +360,11 @@ void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags) #elif defined(TARGET_SPARC) print_insn = print_insn_sparc; #elif defined(TARGET_PPC) +#ifdef TARGET_PPC64 + disasm_info.mach = bfd_mach_ppc64; +#else + disasm_info.mach = bfd_mach_ppc; +#endif print_insn = print_insn_ppc; #elif defined(TARGET_MIPS) print_insn = print_insn_big_mips; |