aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/PPC/SPC56ELxx/ld/SPC56EL54_LSM.ld
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC/PPC/SPC56ELxx/ld/SPC56EL54_LSM.ld')
-rw-r--r--os/ports/GCC/PPC/SPC56ELxx/ld/SPC56EL54_LSM.ld11
1 files changed, 3 insertions, 8 deletions
diff --git a/os/ports/GCC/PPC/SPC56ELxx/ld/SPC56EL54_LSM.ld b/os/ports/GCC/PPC/SPC56ELxx/ld/SPC56EL54_LSM.ld
index b84620ed8..977db64a1 100644
--- a/os/ports/GCC/PPC/SPC56ELxx/ld/SPC56EL54_LSM.ld
+++ b/os/ports/GCC/PPC/SPC56ELxx/ld/SPC56EL54_LSM.ld
@@ -46,17 +46,12 @@ SECTIONS
. = ORIGIN(flash);
.boot : ALIGN(16) SUBALIGN(16)
{
+ __ivpr_base__ = .;
KEEP(*(.bam))
KEEP(*(.crt0))
- . = ALIGN(0x00000800);
- KEEP(*(.vectors))
- /* Note, have to waste the first 64KB because the IVPR register
- requires an alignment of 64KB and the first 64KB cannot be used,
- IVOR0 would conflict with the BAM word. Applications could
- allocate code or data in the first 64KB by using special sections.*/
- . = ALIGN(0x00010000);
- __ivpr_base__ = .;
KEEP(*(.handlers))
+ . = ALIGN(0x800);
+ KEEP(*(.vectors))
} > flash
constructors : ALIGN(4) SUBALIGN(4)