X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6658905f18a1eebc148836f26c731dea9c1377dc..391a974f53b8344d2dd1e04dab382bb5d397916d:/armsrc/ldscript diff --git a/armsrc/ldscript b/armsrc/ldscript index ac0fe2bd..81ed4edf 100644 --- a/armsrc/ldscript +++ b/armsrc/ldscript @@ -1,11 +1,21 @@ +INCLUDE ../common/ldscript.common + +ENTRY(Vector) SECTIONS { - . = 0x00010000; - .text : { obj/start.o(.text) *(.text) } - .rodata : { *(.rodata) } - . = 0x00200000; - .data : { *(.data) } + .start : { obj/start.o(.text) } >osimage + .text : { + *(.text) + *(.text.*) + *(.glue_7) + *(.glue_7t) + } >osimage + .rodata : { + *(.rodata) + *(.rodata*) + } >osimage + .data : { *(.data) } >ram __bss_start__ = .; - .bss : { *(.bss) } + .bss : { *(.bss) } >ram __bss_end__ = .; }