From 715d6167e07a46f5bc37f42993c209450484bbe8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Jun 2018 15:10:36 +0200 Subject: bsps: Support .rtemsstack.* linker input sections Use a dedicated memory region or place it between the BSS and workspace. Update #3459. --- bsps/mips/malta/start/linkcmds | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bsps/mips/malta/start/linkcmds') 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 = .; -- cgit v1.2.3