Revision a32ff1ad

b/linux-user/elfload.c
329 329
    abi_ulong entry, toc;
330 330
#endif
331 331

  
332
    _regs->msr = 1 << MSR_PR; /* Set user mode */
333 332
    _regs->gpr[1] = infop->start_stack;
334 333
#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)
335 334
    entry = ldq_raw(infop->entry) + infop->load_addr;
b/linux-user/main.c
2168 2168
        }
2169 2169
        cpu_ppc_register(env, def);
2170 2170
        cpu_ppc_reset(env);
2171
        env->msr = regs->msr & ~((1 << 6) | (1 << 12) | (1 << 13));
2172 2171
#if defined(TARGET_PPC64)
2173 2172
#if defined(TARGET_ABI32)
2174 2173
        env->msr &= ~((target_ulong)1 << MSR_SF);

Also available in: Unified diff