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:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user