FreeCalypso > hg > freecalypso-tools
diff target-utils/flash-boot-test/ld.script @ 197:dbb54db721d1
target-utils/flash-boot-test written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 30 Apr 2017 17:40:26 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/target-utils/flash-boot-test/ld.script Sun Apr 30 17:40:26 2017 +0000 @@ -0,0 +1,46 @@ +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;