forked from M-Labs/zynq-rs
1
0
Fork 0

experiments: move BSS and stack to OCM3

This commit is contained in:
Sebastien Bourdeauducq 2020-07-06 11:57:02 +08:00
parent 21c0c5cbc8
commit 7082e07a18
1 changed files with 3 additions and 3 deletions

View File

@ -42,19 +42,19 @@ 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 = .;
. += 0x200; . += 0x200;
__stack1_start = .; __stack1_start = .;
} > OCM } > OCM3
.stack0 (NOLOAD) : ALIGN(8) { .stack0 (NOLOAD) : ALIGN(8) {
__stack0_end = .; __stack0_end = .;
. = ORIGIN(OCM) + LENGTH(OCM) - 8; . = ORIGIN(OCM) + LENGTH(OCM) - 8;
__stack0_start = .; __stack0_start = .;
} > OCM } > OCM3
/DISCARD/ : /DISCARD/ :
{ {