bsps: Support .rtemsstack.* linker input sections

Use a dedicated memory region or place it between the BSS and workspace.

Update #3459.
This commit is contained in:
Sebastian Huber
2018-06-19 15:10:36 +02:00
parent c8df844cf3
commit 715d6167e0
78 changed files with 266 additions and 77 deletions

View File

@@ -260,8 +260,11 @@ SECTIONS
. += kMainStackSize;
stack.end = .;
/* RTEMS workspace: size specified by application */
WorkAreaBase = ALIGN(0x20);
.rtemsstack (NOLOAD) : {
*(SORT(.rtemsstack.*))
} >RAM
WorkAreaBase = .;
/* Debugging information */
.line 0 : { *(.line) }