[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 11/12] linux-user/aarch64: Fix normal SIGILL si_code
From: |
Richard Henderson |
Subject: |
[PATCH v5 11/12] linux-user/aarch64: Fix normal SIGILL si_code |
Date: |
Tue, 29 Aug 2023 16:23:34 -0700 |
Most illegal instructions use ILL_ILLOPC.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
linux-user/aarch64/cpu_loop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/aarch64/cpu_loop.c b/linux-user/aarch64/cpu_loop.c
index 2e2f7cf218..22c9789326 100644
--- a/linux-user/aarch64/cpu_loop.c
+++ b/linux-user/aarch64/cpu_loop.c
@@ -110,7 +110,7 @@ void cpu_loop(CPUARMState *env)
/* just indicate that signals should be handled asap */
break;
case EXCP_UDEF:
- force_sig_fault(TARGET_SIGILL, TARGET_ILL_ILLOPN, env->pc);
+ force_sig_fault(TARGET_SIGILL, TARGET_ILL_ILLOPC, env->pc);
break;
case EXCP_PREFETCH_ABORT:
case EXCP_DATA_ABORT:
--
2.34.1
- [PATCH v5 02/12] target/arm: Add ID_AA64ISAR2_EL1, (continued)
- [PATCH v5 02/12] target/arm: Add ID_AA64ISAR2_EL1, Richard Henderson, 2023/08/29
- [PATCH v5 04/12] target/arm: Don't change pauth features when changing algorithm, Richard Henderson, 2023/08/29
- [PATCH v5 01/12] tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC, Richard Henderson, 2023/08/29
- [PATCH v5 03/12] target/arm: Add feature detection for FEAT_Pauth2 and extensions, Richard Henderson, 2023/08/29
- [PATCH v5 06/12] target/arm: Implement FEAT_EPAC, Richard Henderson, 2023/08/29
- [PATCH v5 05/12] target/arm: Implement FEAT_PACQARMA3, Richard Henderson, 2023/08/29
- [PATCH v5 10/12] linux-user/aarch64: Add ESR signal frame for SIGSEGV, SIGBUS, Richard Henderson, 2023/08/29
- [PATCH v5 07/12] target/arm: Implement FEAT_Pauth2, Richard Henderson, 2023/08/29
- [PATCH v5 09/12] target/arm: Implement FEAT_FPAC and FEAT_FPACCOMBINE, Richard Henderson, 2023/08/29
- [PATCH v5 08/12] targer/arm: Inform helpers whether a PAC instruction is 'combined', Richard Henderson, 2023/08/29
- [PATCH v5 11/12] linux-user/aarch64: Fix normal SIGILL si_code,
Richard Henderson <=
- [PATCH v5 12/12] linux-user/aarch64: Add ESR signal frame for PACFAIL, Richard Henderson, 2023/08/29