summaryrefslogtreecommitdiffstats
path: root/bsps/sh/gensh2/start/linkcmds.ram
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/gensh2/start/linkcmds.ram
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/gensh2/start/linkcmds.ram')
-rw-r--r--bsps/sh/gensh2/start/linkcmds.ram4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/sh/gensh2/start/linkcmds.ram b/bsps/sh/gensh2/start/linkcmds.ram
index 7a1431889e..4db55f03a8 100644
--- a/bsps/sh/gensh2/start/linkcmds.ram
+++ b/bsps/sh/gensh2/start/linkcmds.ram
@@ -200,6 +200,10 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
+ .rtemsstackidle (NOLOAD) : {
+ *(SORT(.rtemsstack.idle*))
+ } > ram
+
_WorkAreaBase = . ;
.rtemsstack (NOLOAD) : {