X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2bfed17db25367442c6ad57a76a3c998ec84889c..9e13f8751786076891e068ad23fac6a64e6dbad2:/armsrc/ldscript diff --git a/armsrc/ldscript b/armsrc/ldscript index 81ed4edf..61eaa5d7 100644 --- a/armsrc/ldscript +++ b/armsrc/ldscript @@ -1,21 +1,41 @@ -INCLUDE ../common/ldscript.common - -ENTRY(Vector) -SECTIONS -{ - .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) } >ram - __bss_end__ = .; -} +INCLUDE ../common/ldscript.common + +ENTRY(Vector) +SECTIONS +{ + .fpgaimage : { + *(fpga_bit.data) + } >fpgaimage + .start : { *(.startos) } >osimage + .text : { + *(.text) + *(.text.*) + *(.eh_frame) + *(.glue_7) + *(.glue_7t) + *(.rodata) + *(.rodata*) + *(.version_information) + } >osimage + __end_of_text__ = .; + + .data : { + __data_start__ = .; + __data_src_start__ = __end_of_text__; + *(.data) + *(.data.*) + __data_end__ = .; + } >ram AT>osimage + + .bss : { + __bss_start__ = .; + *(.bss) + *(.bss.*) + } >ram + . = ALIGN(32 / 8); + __bss_end__ = .; + + .commonarea (NOLOAD) : { + *(.commonarea) + } >commonarea +}