ea3c95a6b0
QEMU mips userspace emulation crashes with "qemu: unhandled CPU exception
0x15 - aborting" when one of the integer arithmetic instructions detects
an overflow.
This patch fixes it so that it delivers SIGFPE with FPE_INTOVF instead.
Cc: qemu-stable@nongnu.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Message-Id: <3ef979a8-3ee1-eb2d-71f7-d788ff88dd11@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cpu_loop.c | ||
meson.build | ||
signal.c | ||
sockbits.h | ||
syscall_nr.h | ||
syscall_o32.tbl | ||
syscall-args-o32.c.inc | ||
syscallhdr.sh | ||
target_cpu.h | ||
target_elf.h | ||
target_errno_defs.h | ||
target_fcntl.h | ||
target_mman.h | ||
target_prctl.h | ||
target_resource.h | ||
target_signal.h | ||
target_structs.h | ||
target_syscall.h | ||
termbits.h |