forked from M-Labs/artiq
linker: generate stack guard + symbol
This commit is contained in:
parent
178a86bcda
commit
790a20edf6
|
@ -50,4 +50,7 @@ SECTIONS
|
|||
. = ALIGN(4);
|
||||
_end = .;
|
||||
}
|
||||
|
||||
. = ALIGN(0x1000);
|
||||
_sstack_guard = .;
|
||||
}
|
||||
|
|
|
@ -69,8 +69,11 @@ SECTIONS
|
|||
_ebss = .;
|
||||
} > runtime
|
||||
|
||||
.stack (NOLOAD) : ALIGN(16)
|
||||
.stack (NOLOAD) : ALIGN(0x1000)
|
||||
{
|
||||
_sstack_guard = .;
|
||||
. += 0x1000;
|
||||
_estack = .;
|
||||
. += 0x10000;
|
||||
_fstack = . - 16;
|
||||
} > runtime
|
||||
|
|
|
@ -58,8 +58,10 @@ SECTIONS
|
|||
_ebss = .;
|
||||
} > main_ram
|
||||
|
||||
.stack (NOLOAD) : ALIGN(16)
|
||||
.stack (NOLOAD) : ALIGN(0x1000)
|
||||
{
|
||||
_sstack_guard = .;
|
||||
. += 0x1000;
|
||||
_estack = .;
|
||||
. += 0x10000;
|
||||
_fstack = . - 16;
|
||||
|
|
Loading…
Reference in New Issue