summaryrefslogtreecommitdiffstats
path: root/bsps/lm32/lm32_evr/start/linkcmds
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-19 15:10:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-27 08:58:16 +0200
commit715d6167e07a46f5bc37f42993c209450484bbe8 (patch)
treea2b7b713ecfe5d6bbe80db74f79dfeba62e64a8b /bsps/lm32/lm32_evr/start/linkcmds
parentscore: Add CPU_INTERRUPT_STACK_ALIGNMENT (diff)
downloadrtems-715d6167e07a46f5bc37f42993c209450484bbe8.tar.bz2
bsps: Support .rtemsstack.* linker input sections
Use a dedicated memory region or place it between the BSS and workspace. Update #3459.
Diffstat (limited to 'bsps/lm32/lm32_evr/start/linkcmds')
-rw-r--r--bsps/lm32/lm32_evr/start/linkcmds6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsps/lm32/lm32_evr/start/linkcmds b/bsps/lm32/lm32_evr/start/linkcmds
index 63747f33dc..d4b3147c63 100644
--- a/bsps/lm32/lm32_evr/start/linkcmds
+++ b/bsps/lm32/lm32_evr/start/linkcmds
@@ -252,14 +252,16 @@ SECTIONS
. += _StackSize;
_fstack = .;
- WorkAreaBase = .;
-
. = ALIGN (16);
_stack_init = .;
_clear_end = .;
} > sdram
+ .rtemsstack (NOLOAD) : {
+ *(SORT(.rtemsstack.*))
+ WorkAreaBase = .;
+ } > sdram
/DISCARD/ :
{