summaryrefslogtreecommitdiffstats
path: root/bsps/epiphany/epiphany_sim/start/linkcmds
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/epiphany/epiphany_sim/start/linkcmds')
-rw-r--r--bsps/epiphany/epiphany_sim/start/linkcmds6
1 files changed, 5 insertions, 1 deletions
diff --git a/bsps/epiphany/epiphany_sim/start/linkcmds b/bsps/epiphany/epiphany_sim/start/linkcmds
index e0e216f21c..05e500e7d7 100644
--- a/bsps/epiphany/epiphany_sim/start/linkcmds
+++ b/bsps/epiphany/epiphany_sim/start/linkcmds
@@ -305,7 +305,7 @@ SECTIONS {
bsp_section_rodata_load_begin = LOADADDR (.rodata);
bsp_section_rodata_load_end = bsp_section_rodata_load_begin + bsp_section_rodata_size;
-.rwbarrier : {
+ .rwbarrier : {
. = ALIGN(8);
. = ALIGN (bsp_section_rwbarrier_align);
} > REGION_DATA AT > REGION_DATA
@@ -339,6 +339,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