forked from Mirrors/opensbi
firmware: Remove stack section from common linker script
We don't need a separate stack section for per-HART stack instead we create per-HART stack at the end of firmware (i.e. after _fw_end symbol). Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -61,18 +61,6 @@
|
||||
|
||||
. = ALIGN(0x1000); /* Ensure next section is page aligned */
|
||||
|
||||
.stack :
|
||||
{
|
||||
PROVIDE(_stack_start = .);
|
||||
*(.stack)
|
||||
*(.stack.*)
|
||||
. = . + (PLAT_HART_STACK_SIZE * PLAT_HART_COUNT);
|
||||
. = ALIGN(8);
|
||||
PROVIDE(_stack_end = .);
|
||||
}
|
||||
|
||||
. = ALIGN(0x1000); /* Ensure next section is page aligned */
|
||||
|
||||
.bss :
|
||||
{
|
||||
PROVIDE(_bss_start = .);
|
||||
|
Reference in New Issue
Block a user