]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ldscript
Only re-compile version.c as often as necessary
[proxmark3-svn] / armsrc / ldscript
index ac0fe2bdbe594dc3629601b96153c8d156455ba6..3a01a68fcbd8ecc3d8c252aaa1930573d3482441 100644 (file)
@@ -1,11 +1,25 @@
+INCLUDE ../common/ldscript.common\r
+\r
+ENTRY(Vector)\r
 SECTIONS\r
 {\r
-       . = 0x00010000;\r
-       .text : { obj/start.o(.text) *(.text) }\r
-       .rodata : { *(.rodata) }\r
-       . = 0x00200000;\r
-       .data : { *(.data) }\r
+       .fpgaimage : {\r
+               *(fpga_bit.data)\r
+       } >fpgaimage\r
+       .start : { *(.startos) } >osimage\r
+       .text : { \r
+               *(.text)\r
+               *(.text.*)\r
+               *(.glue_7)\r
+               *(.glue_7t)\r
+               *(.version_information)\r
+       } >osimage\r
+       .rodata : { \r
+               *(.rodata) \r
+               *(.rodata*) \r
+       } >osimage\r
+       .data : { *(.data) } >ram\r
        __bss_start__ = .;\r
-       .bss : { *(.bss) }\r
+       .bss : { *(.bss) } >ram\r
        __bss_end__ = .;\r
 }\r
Impressum, Datenschutz