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

link.x: fix indentation

This commit is contained in:
Sebastien Bourdeauducq 2020-04-28 19:35:45 +08:00
parent 3948021458
commit 248a692cf7
1 changed files with 15 additions and 16 deletions

View File

@ -12,9 +12,9 @@ PROVIDE(FIQ = Reset);
MEMORY MEMORY
{ {
/* 256 kB On-Chip Memory */ /* 256 kB On-Chip Memory */
OCM : ORIGIN = 0, LENGTH = 0x30000 OCM : ORIGIN = 0, LENGTH = 0x30000
OCM3 : ORIGIN = 0xFFFF0000, LENGTH = 0x10000 OCM3 : ORIGIN = 0xFFFF0000, LENGTH = 0x10000
} }
SECTIONS SECTIONS
@ -47,24 +47,23 @@ SECTIONS
} > OCM } > OCM
.stack1 (NOLOAD) : ALIGN(8) { .stack1 (NOLOAD) : ALIGN(8) {
__stack1_end = .; __stack1_end = .;
. += 0x200; . += 0x200;
__stack1_start = .; __stack1_start = .;
} > OCM } > OCM
.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 } > OCM
/DISCARD/ : /DISCARD/ : {
{ /* Unused exception related info that only wastes space */
/* Unused exception related info that only wastes space */ *(.ARM.exidx);
*(.ARM.exidx); *(.ARM.exidx.*);
*(.ARM.exidx.*); *(.ARM.extab.*);
*(.ARM.extab.*); }
}
} }
ASSERT(SIZEOF(.stack0) >= 0x8000, "less than 32 KB left for stack"); ASSERT(SIZEOF(.stack0) >= 0x8000, "less than 32 KB left for stack");