summaryrefslogtreecommitdiffstats
path: root/bsps/mips/malta/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/mips/malta/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/mips/malta/start/linkcmds')
-rw-r--r--bsps/mips/malta/start/linkcmds7
1 files changed, 6 insertions, 1 deletions
diff --git a/bsps/mips/malta/start/linkcmds b/bsps/mips/malta/start/linkcmds
index 3a71c5af8b..4e44bce110 100644
--- a/bsps/mips/malta/start/linkcmds
+++ b/bsps/mips/malta/start/linkcmds
@@ -169,9 +169,14 @@ SECTIONS
. += _StackSize;
__stack = .;
_stack_init = .;
- WorkAreaBase = .;
_clear_end = .;
}
+
+ .rtemsstack (NOLOAD) : {
+ *(SORT(.rtemsstack.*))
+ WorkAreaBase = .;
+ }
+
. = 0x88400000; /* reserve some memory for Work Area */
end = .;
_end = .;