summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/riscv/linkcmdsbase.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/riscv/linkcmdsbase.yml')
-rw-r--r--spec/build/bsps/riscv/linkcmdsbase.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/build/bsps/riscv/linkcmdsbase.yml b/spec/build/bsps/riscv/linkcmdsbase.yml
index 3f52a3134a..e637049280 100644
--- a/spec/build/bsps/riscv/linkcmdsbase.yml
+++ b/spec/build/bsps/riscv/linkcmdsbase.yml
@@ -317,6 +317,13 @@ content: |
} > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK
bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin;
+ .noinit (NOLOAD) : ${LINKCMDS_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) : ${LINKCMDS_ALIGN_DIRECTIVE} {
/*
* The work section will occupy the remaining REGION_WORK region and