diff options
Diffstat (limited to 'bsps/riscv/shared/start/linkcmds.base.in')
-rw-r--r-- | bsps/riscv/shared/start/linkcmds.base.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsps/riscv/shared/start/linkcmds.base.in b/bsps/riscv/shared/start/linkcmds.base.in index f114bb885a..5f4294dd9a 100644 --- a/bsps/riscv/shared/start/linkcmds.base.in +++ b/bsps/riscv/shared/start/linkcmds.base.in @@ -314,6 +314,13 @@ SECTIONS { } > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin; + .noinit (NOLOAD) : @RISCV_LINKER_ALIGN_DIRECTIVE@ { + 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 (NOLOAD) : @RISCV_LINKER_ALIGN_DIRECTIVE@ { /* * The work section will occupy the remaining REGION_WORK region and |