diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-03 14:04:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-03 14:05:19 +0200 |
commit | eb7c33add034577701f73b184b6227c9d33aacee (patch) | |
tree | 603a569738f74138ed83344f032b010185765c9b /spec/build | |
parent | libtest: Fix use of flexible array member (diff) | |
download | rtems-eb7c33add034577701f73b184b6227c9d33aacee.tar.bz2 |
bsps/riscv: Support RTEMS_NOINIT in linkcmds
Update #3866.
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/riscv/linkcmdsbase.yml | 7 |
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 |