qemu-e2k/linux-user/mips
Mikulas Patocka 6fad9b4bb9 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>
2023-10-18 15:32:16 -07:00
..
cpu_loop.c linux-user/mips: fix abort on integer overflow 2023-10-18 15:32:16 -07:00
meson.build meson: linux-user 2020-08-21 06:30:38 -04:00
signal.c linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN 2021-12-19 20:47:33 -08:00
sockbits.h linux-user: add TARGET_SO_{DOMAIN,PROTOCOL} 2021-02-13 22:50:50 +01:00
syscall_nr.h meson: linux-user 2020-08-21 06:30:38 -04:00
syscall_o32.tbl linux-user: update syscall.tbl to Linux v5.13 2021-07-13 13:59:59 +02:00
syscall-args-o32.c.inc linux-user, mips: update syscall-args-o32.c.inc to Linux v5.13 2021-07-13 13:59:59 +02:00
syscallhdr.sh linux-user, mips: add syscall table generation support 2020-03-20 16:02:00 +01:00
target_cpu.h linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
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 linux-user/mips: Move errno definitions to 'target_errno_defs.h' 2021-07-12 21:53:35 +02:00
target_fcntl.h linux-user: Introduce TARGET_HAVE_ARCH_STRUCT_FLOCK 2019-07-02 16:56:46 +02:00
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_proc.h linux-user: Split out cpu/target_proc.h 2023-09-01 13:33:09 -07: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 linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
target_syscall.h linux-user: Split out do_prctl and subroutines 2022-01-06 11:40:52 +01:00
termbits.h linux-user: Add missing termbits types and values definitions 2020-08-27 12:29:50 +02:00