X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6658905f18a1eebc148836f26c731dea9c1377dc..64b811983667b6f9099d5b0a85805fb84971f667:/armsrc/ldscript diff --git a/armsrc/ldscript b/armsrc/ldscript index ac0fe2bd..a3aedef1 100644 --- a/armsrc/ldscript +++ b/armsrc/ldscript @@ -1,11 +1,29 @@ +INCLUDE ../common/ldscript.common + +ENTRY(Vector) SECTIONS { - . = 0x00010000; - .text : { obj/start.o(.text) *(.text) } - .rodata : { *(.rodata) } - . = 0x00200000; - .data : { *(.data) } + .fpgaimage : { + *(fpga_bit.data) + } >fpgaimage + .start : { *(.startos) } >osimage + .text : { + *(.text) + *(.text.*) + *(.glue_7) + *(.glue_7t) + *(.version_information) + } >osimage + .rodata : { + *(.rodata) + *(.rodata*) + } >osimage + .data : { *(.data) } >ram __bss_start__ = .; - .bss : { *(.bss) } + .bss : { *(.bss) } >ram __bss_end__ = .; + + .commonarea (NOLOAD) : { + *(.commonarea) + } >commonarea }