The NIOS2 architecture linker script was including `cplusplus-ram.ld` linker script after `__data_ram_end`, and this caused the content of `.gcc_except_table` section to be not copied to the RAM by the `z_data_copy` function; leading to the C++ exception handling malfunction. This commit relocates the `cplusplus-ram.ld` linker script inclusion such that the contents of the relevant sections are properly copied by the `z_data_copy` function. Signed-off-by: Stephanos Ioannidis <root@stephanos.io> |
||
|---|---|---|
| .. | ||
| arch.h | ||
| asm_inline_gcc.h | ||
| asm_inline.h | ||
| linker.ld | ||
| nios2.h | ||
| thread.h | ||