summaryrefslogtreecommitdiffstats
path: root/bsps/riscv/riscv_generic/start/linkcmds
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/riscv/riscv_generic/start/linkcmds')
-rw-r--r--bsps/riscv/riscv_generic/start/linkcmds6
1 files changed, 5 insertions, 1 deletions
diff --git a/bsps/riscv/riscv_generic/start/linkcmds b/bsps/riscv/riscv_generic/start/linkcmds
index 737ae75f32..9f71b66aa2 100644
--- a/bsps/riscv/riscv_generic/start/linkcmds
+++ b/bsps/riscv/riscv_generic/start/linkcmds
@@ -313,7 +313,7 @@ SECTIONS {
} > REGION_HTIF AT > REGION_HTIF_LOAD
-.rwbarrier : {
+ .rwbarrier : {
. = ALIGN(8);
. = ALIGN (bsp_section_rwbarrier_align);
} > REGION_DATA AT > REGION_DATA
@@ -347,6 +347,10 @@ SECTIONS {
} > REGION_BSS AT > REGION_BSS
bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_begin;
+ .rtemsstack (NOLOAD) : {
+ *(SORT(.rtemsstack.*))
+ } > REGION_WORK AT > REGION_WORK
+
.work : {
/*
* The work section will occupy the remaining REGION_WORK region and