summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-03 14:04:53 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-03 14:05:19 +0200
commiteb7c33add034577701f73b184b6227c9d33aacee (patch)
tree603a569738f74138ed83344f032b010185765c9b
parent5b97821bc8583a71e30d6a27bf29961e2c9dc522 (diff)
downloadrtems-eb7c33add034577701f73b184b6227c9d33aacee.tar.bz2
bsps/riscv: Support RTEMS_NOINIT in linkcmds
Update #3866.
-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