diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-12-11 11:44:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-12-13 07:32:58 +0100 |
commit | 96221e40dde88044a9e1effa4070490c93342667 (patch) | |
tree | 6686149f56a5945cc6621b60671ce2bde5f7da3b /bsps/aarch64/shared/start/linkcmds.base | |
parent | rtems: Improve ordering in <rtems/rtems/intr.h> (diff) | |
download | rtems-96221e40dde88044a9e1effa4070490c93342667.tar.bz2 |
bsps/aarch64: Support .noinit linker section
Diffstat (limited to '')
-rw-r--r-- | bsps/aarch64/shared/start/linkcmds.base | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsps/aarch64/shared/start/linkcmds.base b/bsps/aarch64/shared/start/linkcmds.base index a560b1016e..d3b5485777 100644 --- a/bsps/aarch64/shared/start/linkcmds.base +++ b/bsps/aarch64/shared/start/linkcmds.base @@ -321,6 +321,13 @@ SECTIONS { } > REGION_WORK AT > REGION_WORK bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin; + .noinit (NOLOAD) : ALIGN_WITH_INPUT { + bsp_section_noinit_begin = .; + *(.noinit*) + bsp_section_noinit_end = .; + } > REGION_WORK AT > REGION_WORK + bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin; + .work : ALIGN_WITH_INPUT { /* * The work section will occupy the remaining REGION_WORK region and |