aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/arm/signal.c')
-rw-r--r--linux-user/arm/signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/arm/signal.c b/linux-user/arm/signal.c
index d96fc27ce1..8020c80acb 100644
--- a/linux-user/arm/signal.c
+++ b/linux-user/arm/signal.c
@@ -546,6 +546,7 @@ restore_sigcontext(CPUARMState *env, struct target_sigcontext *sc)
#ifdef TARGET_CONFIG_CPU_32
__get_user(cpsr, &sc->arm_cpsr);
cpsr_write(env, cpsr, CPSR_USER | CPSR_EXEC, CPSRWriteByInstr);
+ arm_rebuild_hflags(env);
#endif
err |= !valid_user_regs(env);