forked from Imagelibrary/rtems
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:
@@ -252,14 +252,16 @@ SECTIONS
|
||||
. += _StackSize;
|
||||
_fstack = .;
|
||||
|
||||
WorkAreaBase = .;
|
||||
|
||||
. = ALIGN (16);
|
||||
_stack_init = .;
|
||||
_clear_end = .;
|
||||
|
||||
} > sdram
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
WorkAreaBase = .;
|
||||
} > sdram
|
||||
|
||||
/DISCARD/ :
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user