forked from M-Labs/artiq-zynq
szl: move bss and stack to OCM3 to save space
This commit is contained in:
parent
6608c16f46
commit
24853ab090
|
@ -42,21 +42,21 @@ SECTIONS
|
||||||
*(.bss .bss.*);
|
*(.bss .bss.*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__bss_end = .;
|
__bss_end = .;
|
||||||
} > OCM
|
} > OCM3
|
||||||
|
|
||||||
.stack1 (NOLOAD) : ALIGN(8)
|
.stack1 (NOLOAD) : ALIGN(8)
|
||||||
{
|
{
|
||||||
__stack1_end = .;
|
__stack1_end = .;
|
||||||
. += 0x4000;
|
. += 0x4000;
|
||||||
__stack1_start = .;
|
__stack1_start = .;
|
||||||
} > OCM
|
} > OCM3
|
||||||
|
|
||||||
.stack0 (NOLOAD) : ALIGN(8)
|
.stack0 (NOLOAD) : ALIGN(8)
|
||||||
{
|
{
|
||||||
__stack0_end = .;
|
__stack0_end = .;
|
||||||
. += 0x4000;
|
. += 0x4000;
|
||||||
__stack0_start = .;
|
__stack0_start = .;
|
||||||
} > OCM
|
} > OCM3
|
||||||
|
|
||||||
/DISCARD/ :
|
/DISCARD/ :
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue