zephyr/include/linker
Stephanos Ioannidis 9881ce0a11 linker: cpp: Disable sorting of C++ exception handling info sections
The `CONFIG_LINKER_SORT_BY_ALIGNMENT` config, which is enabled by
default, causes the sections containing C++ exception handling
information to be re-ordered for certain targets (in particular, the
64-bit arch targets). This effectively breaks the required "crtbegin.o
-> others -> crtend.o" order and causes the address of the
__EH_FRAME_BEGIN__ symbol to be invalid; thereby, causing C++
exception unwinding to fail.

This commit adds SORT_NONE property to these sections in order to
ensure that the linking order specified in the linker command line is
maintained.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-05-27 14:36:13 -05:00
..
app_smem.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_aligned.ld linker: remove APP_SMEM_SECTION() macro 2021-03-22 13:05:33 -04:00
app_smem_unaligned.ld linker: remove APP_SMEM_SECTION() macro 2021-03-22 13:05:33 -04:00
common-noinit.ld kernel: generate placeholders for kobj tables before final build 2021-04-27 13:32:00 -04:00
common-ram.ld net: Introduce new NETWORK_RAM_SECTIONS() macro for common-ram.ld 2021-04-20 08:29:49 -04:00
common-rom.ld init: tweak Zephyr .init* section name conflicting with toolchain 2021-04-26 14:15:43 -04:00
cplusplus-ram.ld linker: cpp: Disable sorting of C++ exception handling info sections 2021-05-27 14:36:13 -05:00
cplusplus-rom.ld linker-tool-gcc: revise for MMU support 2021-03-16 15:03:44 -04:00
debug-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
devicetree_regions.h linker: devicetree_regions: escape special characters 2021-05-21 12:17:04 -04:00
intlist.ld linker: tweak section naming to feet all linkers 2021-03-23 07:35:43 -05:00
kobject-data.ld toolchain: arcmwdt: linker: fix placeholders for arcmwdt toolchain 2021-05-20 07:50:38 -05:00
kobject-priv-stacks.ld toolchain: arcmwdt: linker: fix placeholders for arcmwdt toolchain 2021-05-20 07:50:38 -05:00
kobject-rom.ld toolchain: arcmwdt: linker: fix placeholders for arcmwdt toolchain 2021-05-20 07:50:38 -05:00
kobject-text.ld linker: clarify CONFIG_KOBJECT_TEXT_AREA too small message 2021-04-20 08:29:22 -04:00
linker-defs.h linker: add bits for pinned regions 2021-05-10 16:00:43 -05:00
linker-tool-gcc.h ARC: prepare for building for ARCv3 HS6x 2021-05-07 14:55:49 -05:00
linker-tool-mwdt.h linker-tool-mwdt: compliant adjustment of linker macros 2021-03-23 07:35:43 -05:00
linker-tool.h ARC: linker: implement linker related definition for MWDT 2020-09-05 10:22:56 -05:00
rel-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
section_tags.h linker: add __isr tag 2021-05-10 16:00:43 -05:00
sections.h linker: add bits for pinned regions 2021-05-10 16:00:43 -05:00
thread-local-storage.ld linker-tool-gcc: revise for MMU support 2021-03-16 15:03:44 -04:00