summaryrefslogtreecommitdiffstats
path: root/bsps/lm32/milkymist/start/linkcmds
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/lm32/milkymist/start/linkcmds')
-rw-r--r--bsps/lm32/milkymist/start/linkcmds7
1 files changed, 4 insertions, 3 deletions
diff --git a/bsps/lm32/milkymist/start/linkcmds b/bsps/lm32/milkymist/start/linkcmds
index 9c38414238..6a2721005a 100644
--- a/bsps/lm32/milkymist/start/linkcmds
+++ b/bsps/lm32/milkymist/start/linkcmds
@@ -251,14 +251,15 @@ SECTIONS
. += _StackSize;
_fstack = .;
- WorkAreaBase = .;
-
. = ALIGN (16);
_stack_init = .;
_clear_end = .;
-
} > sdram
+ .rtemsstack (NOLOAD) : {
+ *(SORT(.rtemsstack.*))
+ WorkAreaBase = .;
+ } > sdram
/DISCARD/ :
{