]> Git Repo - qemu.git/commitdiff
linux-user/arm: Rebuild hflags for TARGET_WORDS_BIGENDIAN
authorRichard Henderson <[email protected]>
Wed, 23 Oct 2019 15:00:56 +0000 (11:00 -0400)
committerPeter Maydell <[email protected]>
Thu, 24 Oct 2019 16:16:28 +0000 (17:16 +0100)
Continue setting, but not relying upon, env->hflags.

Signed-off-by: Richard Henderson <[email protected]>
Message-id: 20191023150057[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
linux-user/arm/cpu_loop.c

index e28c45cd4abbdb3000d7c44c72f2964dd92e310b..7be40717518d5ab1cf7e781eda91c36af363e6b3 100644 (file)
@@ -440,6 +440,7 @@ void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs)
     } else {
         env->cp15.sctlr_el[1] |= SCTLR_B;
     }
+    arm_rebuild_hflags(env);
 #endif
 
     ts->stack_base = info->start_stack;
This page took 0.026299 seconds and 4 git commands to generate.