zephyr/include/arch
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
..
arc ARC: arch.h: setup ARCH_STACK_PTR_ALIGN correctly for 64 bit 2021-05-07 14:55:49 -05:00
arm/aarch32 arch: arm: Fix build warning 2021-05-26 11:17:45 -05:00
arm64 arm64: FPU context switching support 2021-05-03 11:56:50 +02:00
common arch: implement brute force find_lsb_set() 2021-05-07 13:36:22 -04:00
nios2 nios2: revert back to builtin sys_io functions 2021-05-26 18:09:47 -05:00
posix clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32 2021-03-19 11:22:17 -04:00
riscv cmake: c++ exceptions linking support 2021-05-27 07:43:28 -05:00
sparc sparc: add _image_rodata_start/end to linker script 2021-04-28 22:25:42 +02:00
x86 cmake: c++ exceptions linking support 2021-05-27 07:43:28 -05:00
xtensa clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32 2021-03-19 11:22:17 -04:00
arch_inlines.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
cpu.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
structs.h kernel: add an architecture specific structs header 2021-04-21 09:03:47 -04:00
syscall.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00