diff options
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index d370b3ed86..2e5cb6bcd4 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -6108,7 +6108,8 @@ static inline int gen_intermediate_code_internal (CPUState *env, } if (loglevel & CPU_LOG_TB_IN_ASM) { int flags; - flags = msr_le; + flags = env->bfd_mach; + flags |= msr_le << 16; fprintf(logfile, "IN: %s\n", lookup_symbol(pc_start)); target_disas(logfile, pc_start, ctx.nip - pc_start, flags); fprintf(logfile, "\n"); |