summaryrefslogtreecommitdiffstats
path: root/bsps/sh/gensh1/start/linkcmds
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-09 16:03:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-12 09:08:36 +0100
commit32991495b48d1b5e4804b2f10a67a800f4608e75 (patch)
tree2a05470107f3a8918689b9ed4c94760f08a2631a /bsps/sh/gensh1/start/linkcmds
parentscore: Move thread stack allocation (diff)
downloadrtems-32991495b48d1b5e4804b2f10a67a800f4608e75.tar.bz2
score: Statically allocate idle/MPCI stacks
Place idle and MPCI stacks into extra linker sections. This can be optionally used by applications to control the placement of the stacks. Update #3835.
Diffstat (limited to 'bsps/sh/gensh1/start/linkcmds')
-rw-r--r--bsps/sh/gensh1/start/linkcmds4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/sh/gensh1/start/linkcmds b/bsps/sh/gensh1/start/linkcmds
index 4c2b5e0d77..dc734de8e5 100644
--- a/bsps/sh/gensh1/start/linkcmds
+++ b/bsps/sh/gensh1/start/linkcmds
@@ -187,6 +187,10 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
+ .rtemsstackidle (NOLOAD) : {
+ *(SORT(.rtemsstack.idle*))
+ } > ram
+
_WorkAreaBase = . ;
.rtemsstack (NOLOAD) : {