forked from M-Labs/zynq-rs
experiments: move BSS and stack to OCM3
This commit is contained in:
parent
21c0c5cbc8
commit
7082e07a18
@ -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/ :
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user