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

@@ -206,9 +206,14 @@ SECTIONS
end = .;
_end = .;
__end = .;
. = ALIGN (16); /* arbitrary alignment */
} > ram
.rtemsstack (NOLOAD) : {
*(SORT(.rtemsstack.*))
PROVIDE (WorkAreaBase = .);
} > ram
.heap : {
. += HeapSize;
PROVIDE (HeapBase = .);
. += HeapSize;