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/or1k/shared/start/linkcmds.base | |
parent | basedefs: Add RTEMS_NOINIT (diff) | |
download | rtems-e10dec0fe72c19320d2c93b905457a5327ec1235.tar.bz2 |
bsps: Support RTEMS_NOINIT in linkcmds
Update #3866.
Diffstat (limited to 'bsps/or1k/shared/start/linkcmds.base')
-rw-r--r-- | bsps/or1k/shared/start/linkcmds.base | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsps/or1k/shared/start/linkcmds.base b/bsps/or1k/shared/start/linkcmds.base index 0d92f6467f..c276e13cb2 100644 --- a/bsps/or1k/shared/start/linkcmds.base +++ b/bsps/or1k/shared/start/linkcmds.base @@ -285,6 +285,13 @@ SECTIONS { } > REGION_BSS AT > REGION_BSS bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_begin; + .noinit (NOLOAD) : ALIGN_WITH_INPUT { + bsp_section_noinit_begin = .; + *(.noinit*) + bsp_section_noinit_end = .; + } > REGION_BSS AT > REGION_BSS + bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin; + .rtemsstack (NOLOAD) : ALIGN_WITH_INPUT{ *(SORT(.rtemsstack.*)) } > REGION_WORK AT > REGION_WORK |