qemu/linux-user/mips
Mikulas Patocka 814f91d679 linux-user/mips: fix abort on integer overflow
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 6fad9b4bb91dcc824f9c00a36ee843883b58313b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-10-19 21:59:58 +03:00
..
cpu_loop.c linux-user/mips: fix abort on integer overflow 2023-10-19 21:59:58 +03:00
meson.build
signal.c linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN 2021-12-19 20:47:33 -08:00
sockbits.h
syscall-args-o32.c.inc
syscall_nr.h
syscall_o32.tbl
syscallhdr.sh
target_cpu.h
target_elf.h linux-user/mips: Use P5600 as default CPU to run NaN2008 ELF binaries 2023-03-30 15:03:28 +02:00
target_errno_defs.h
target_fcntl.h
target_mman.h linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h 2023-08-08 13:27:15 -07:00
target_prctl.h linux-user: Split out do_prctl and subroutines 2022-01-06 11:40:52 +01:00
target_resource.h linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h 2022-02-01 08:01:38 +01:00
target_signal.h linux-user: Remove TARGET_SIGSTKSZ 2022-01-06 11:40:52 +01:00
target_structs.h
target_syscall.h linux-user: Split out do_prctl and subroutines 2022-01-06 11:40:52 +01:00
termbits.h