szl: move bss and stack to OCM3 to save space

This commit is contained in:
Sebastien Bourdeauducq 2020-06-18 17:28:34 +08:00
parent 6608c16f46
commit 24853ab090
1 changed files with 3 additions and 3 deletions

View File

@ -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/ :
{ {