]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ldscript
Create a stamp file for download completion so that it won't have to be redone later
[proxmark3-svn] / armsrc / ldscript
index 8e3231c083715e92ab71d3aa9275dc1b56158d66..cc5ce4e02e4b1ea0d9dece8561fa4200de60b706 100644 (file)
@@ -13,15 +13,26 @@ SECTIONS
                *(.eh_frame)\r
                *(.glue_7)\r
                *(.glue_7t)\r
                *(.eh_frame)\r
                *(.glue_7)\r
                *(.glue_7t)\r
-               *(.version_information)\r
-       } >osimage\r
-       .rodata : { \r
                *(.rodata) \r
                *(.rodata*) \r
                *(.rodata) \r
                *(.rodata*) \r
+               *(.version_information)\r
        } >osimage\r
        } >osimage\r
-       .data : { *(.data) } >ram\r
-       __bss_start__ = .;\r
-       .bss : { *(.bss) } >ram\r
+       __end_of_text__ = .;\r
+       \r
+       .data : {\r
+               __data_start__ = .;\r
+               __data_src_start__ = __end_of_text__; \r
+               *(.data)\r
+               *(.data.*)\r
+               __data_end__ = .;\r
+       } >ram AT>osimage\r
+       \r
+       .bss : {\r
+               __bss_start__ = .; \r
+               *(.bss)\r
+               *(.bss.*) \r
+       } >ram\r
+       . = ALIGN(32 / 8);\r
        __bss_end__ = .;\r
 \r
        .commonarea (NOLOAD) : {\r
        __bss_end__ = .;\r
 \r
        .commonarea (NOLOAD) : {\r
Impressum, Datenschutz