Skip to content

Commit

Permalink
linux-user/arm: Rebuild hflags for TARGET_WORDS_BIGENDIAN
Browse files Browse the repository at this point in the history
Continue setting, but not relying upon, env->hflags.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191023150057.25731-24-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
rth7680 authored and pm215 committed Oct 24, 2019
1 parent 62fb8a4 commit 37bf16c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linux-user/arm/cpu_loop.c
Expand Up @@ -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;
Expand Down

0 comments on commit 37bf16c

Please sign in to comment.