diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-30 15:47:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-02 18:41:21 +0200 |
commit | e10dec0fe72c19320d2c93b905457a5327ec1235 (patch) | |
tree | 5552dc51b826b97490d640cb893ff084e43ae8ff /bsps/arm/shared | |
parent | basedefs: Add RTEMS_NOINIT (diff) | |
download | rtems-e10dec0fe72c19320d2c93b905457a5327ec1235.tar.bz2 |
bsps: Support RTEMS_NOINIT in linkcmds
Update #3866.
Diffstat (limited to 'bsps/arm/shared')
-rw-r--r-- | bsps/arm/shared/start/linkcmds.base | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsps/arm/shared/start/linkcmds.base b/bsps/arm/shared/start/linkcmds.base index a56e23fe93..1b88255e44 100644 --- a/bsps/arm/shared/start/linkcmds.base +++ b/bsps/arm/shared/start/linkcmds.base @@ -338,6 +338,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 |