FreeCalypso > hg > freecalypso-tools
view target-utils/flash-boot-test/ld.script @ 479:f2a040324509
Makefile hierarchy: CFLAGS override-ability actually works now
The original version was broken in that CFLAGS=${CFLAGS} passing was
done without quotes, which breaks as soon as there is a space in the
user-set CFLAGS. Changing it to CFLAGS="${CFLAGS}" makes it work
as originally intended.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 Feb 2019 04:59:23 +0000 |
parents | dbb54db721d1 |
children |
line wrap: on
line source
ENTRY(_entry) SECTIONS { /* flash boot */ .vectors 0 : { *(.vectors) } .magic 0x2000 : { *(.magic) } /* main code */ .text 0x4000 : { /* regular code */ *(.text*) /* gcc voodoo */ *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx) . = ALIGN(4); } /* read-only data */ . = ALIGN(4); .rodata : { *(.rodata*) } /* cannot have any initialized data */ /DISCARD/ : { *(.data) } /* uninitialized data */ .bss 0x83C000 (NOLOAD) : { . = ALIGN(4); __bss_start = .; *(.bss) } . = ALIGN(4); __bss_end = .; /* end of image */ _end = .; PROVIDE(end = .); } stack_bottom = 0x83FFFC;