diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2023-09-28 21:55:20 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-18 15:32:16 -0700 |
| commit | 6fad9b4bb91dcc824f9c00a36ee843883b58313b (patch) | |
| tree | f4cd35611ee0b219b1430288f07e7c8770eb5093 /linux-user/signal.c | |
| parent | e6e66b03287331abc6f184456dbc6d25505590ec (diff) | |
| download | focaccia-qemu-6fad9b4bb91dcc824f9c00a36ee843883b58313b.tar.gz focaccia-qemu-6fad9b4bb91dcc824f9c00a36ee843883b58313b.zip | |
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>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions