zephyr/arch
Andy Ross 029e8f9b61 arch/arm64: z_fatal_error() can return!
This isn't a FUNC_NORETURN function.  On a handled
k_sys_fatal_error_handler(), we'll end up back here.  And the
CODE_UNREACHABLE was causing code generateion bugs that prevented
return up the stack.

Note that the same pattern exists in MANY other architectures (it
seems like the original was part of x86).  But in most cases the arch
assembly isn't actually capable of handling the return to an aborted
thread frame correctly.  On arm64, it does actually work.  So fix it
here at least.

Signed-off-by: Andy Ross <andyross@google.com>
2025-02-26 10:10:29 +00:00
..
arc arch: arc: Rename _Fault to z_arc_fault 2025-01-28 23:42:06 +01:00
arm arch: arm: cortex_a_r: Add cfi directives to z_arm_cortex_r_svc 2025-02-25 15:23:53 +00:00
arm64 arch/arm64: z_fatal_error() can return! 2025-02-26 10:10:29 +00:00
common toolchain: iar: Add experimental IAR support 2025-02-14 19:12:44 +00:00
mips arch: mips: Rename _Fault to z_mips_fault 2025-01-28 23:42:06 +01:00
nios2 arch: nios2: Rename _Fault to z_nios2_fault 2025-01-28 23:42:06 +01:00
posix kernel: move current thread pointer management to core code 2025-01-10 07:49:08 +01:00
riscv arch/riscv: add Zaamo and Zlrsc extension subsets 2025-02-05 17:49:13 +01:00
sparc Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
x86 x86: lakemont: split lakemont into families 2025-02-12 23:16:38 +01:00
xtensa llext: xtensa: disable relative relocations for pre-located 2025-02-20 21:05:37 +01:00
archs.yml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig arch: local ISR table declaration: Remove experimental label 2024-12-05 12:29:58 +01:00
Kconfig.v1 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v2 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00