summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/virtex5
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/powerpc/virtex5
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/powerpc/virtex5')
-rw-r--r--bsps/powerpc/virtex5/start/linkcmds7
1 files changed, 5 insertions, 2 deletions
diff --git a/bsps/powerpc/virtex5/start/linkcmds b/bsps/powerpc/virtex5/start/linkcmds
index 9bd7c2e67f..4fd5243f3f 100644
--- a/bsps/powerpc/virtex5/start/linkcmds
+++ b/bsps/powerpc/virtex5/start/linkcmds
@@ -260,8 +260,11 @@ SECTIONS
. += StackSize;
__stack_base = .; /* Initial stack builds downwards */
- /* RTEMS workspace: size specified by application */
- WorkAreaBase = ALIGN(0x20); /* Align to a cache-line boundary */
+ .rtemsstack (NOLOAD) : {
+ *(SORT(.rtemsstack.*))
+ } >RAM
+
+ WorkAreaBase = .;
/* The heap comes after the work space */