summaryrefslogtreecommitdiffstats
path: root/linux-user/hppa
diff options
context:
space:
mode:
authorRichard Henderson2021-07-24 00:24:52 +0200
committerRichard Henderson2021-11-02 12:00:52 +0100
commitee8e0807de6f0ec70454ffbbb778c1246c45af2b (patch)
tree6e3338fcb16e9acd9471f870902d9cf7fd824e24 /linux-user/hppa
parenttarget/arm: Implement arm_cpu_record_sigbus (diff)
downloadqemu-ee8e0807de6f0ec70454ffbbb778c1246c45af2b.tar.gz
qemu-ee8e0807de6f0ec70454ffbbb778c1246c45af2b.tar.xz
qemu-ee8e0807de6f0ec70454ffbbb778c1246c45af2b.zip
linux-user/hppa: Remove EXCP_UNALIGN handling
We will raise SIGBUS directly from cpu_loop_exit_sigbus. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/hppa')
-rw-r--r--linux-user/hppa/cpu_loop.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/linux-user/hppa/cpu_loop.c b/linux-user/hppa/cpu_loop.c
index e0a62deeb9..375576c8f0 100644
--- a/linux-user/hppa/cpu_loop.c
+++ b/linux-user/hppa/cpu_loop.c
@@ -144,13 +144,6 @@ void cpu_loop(CPUHPPAState *env)
env->iaoq_f = env->gr[31];
env->iaoq_b = env->gr[31] + 4;
break;
- case EXCP_UNALIGN:
- info.si_signo = TARGET_SIGBUS;
- info.si_errno = 0;
- info.si_code = 0;
- info._sifields._sigfault._addr = env->cr[CR_IOR];
- queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info);
- break;
case EXCP_ILL:
case EXCP_PRIV_OPR:
case EXCP_PRIV_REG: