summaryrefslogtreecommitdiffstats
path: root/bsps/i386
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/i386
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/i386')
-rw-r--r--bsps/i386/pc386/start/linkcmds5
1 files changed, 3 insertions, 2 deletions
diff --git a/bsps/i386/pc386/start/linkcmds b/bsps/i386/pc386/start/linkcmds
index 5fc3444c9e..01ec1e9371 100644
--- a/bsps/i386/pc386/start/linkcmds
+++ b/bsps/i386/pc386/start/linkcmds
@@ -204,9 +204,10 @@ SECTIONS
. = ALIGN(. != 0 ? 32 / 8 : 1);
}
. = ALIGN(32 / 8);
- . = ALIGN(32 / 8);
_end = .; PROVIDE (end = .);
- . = ALIGN(0x10);
+ .rtemsstack (NOLOAD) : {
+ *(SORT(.rtemsstack.*))
+ }
WorkAreaBase = .;
. = DATA_SEGMENT_END (.);