zephyr/include/arch/riscv
Torsten Rasmussen 7d37fe21d1 cmake: c++ exceptions linking support
Fixes part of: #32448

This commit updates the CMake CMAKE_CXX_LINK_EXECUTABLE to include
crtbegin.o and crtend.o at the right locations when linking with gcc.

It also updates linker scripts to ensure proper location of the
exception header frame sections.

This ensure proper handling of exceptions for those architectures
- x86
- xtensa
- riscv32

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-05-27 07:43:28 -05:00
..
common cmake: c++ exceptions linking support 2021-05-27 07:43:28 -05:00
riscv-privilege
arch.h clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32 2021-03-19 11:22:17 -04:00
csr.h
error.h userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
exp.h
syscall.h arch: riscv: add memory protection support 2020-11-09 15:37:11 -05:00
thread.h arch: riscv: add memory protection support 2020-11-09 15:37:11 -05:00