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/i386/pc386/start/linkcmds | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bsps/i386') 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 (.); -- cgit v1.2.3