X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/715d74c5be4215d57f3d9d6e874018a959d022c9..1b2c8936326aa0f31912da76dff96a24102a2711:/armsrc/ldscript diff --git a/armsrc/ldscript b/armsrc/ldscript index 8e3231c0..cc5ce4e0 100644 --- a/armsrc/ldscript +++ b/armsrc/ldscript @@ -13,15 +13,26 @@ SECTIONS *(.eh_frame) *(.glue_7) *(.glue_7t) - *(.version_information) - } >osimage - .rodata : { *(.rodata) *(.rodata*) + *(.version_information) } >osimage - .data : { *(.data) } >ram - __bss_start__ = .; - .bss : { *(.bss) } >ram + __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) : {