]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ldscript
Add Makefile for fpga directory (Windows codepath is untested, in any case, go.bat...
[proxmark3-svn] / armsrc / ldscript
index 0489cfe457997e67c0cb6a130bc123887990ceea..3219a041de6fecf656fb27cc6ff8cc8183bd7eaf 100644 (file)
@@ -1,13 +1,24 @@
+INCLUDE ../common/ldscript.common\r
+\r
 ENTRY(Vector)\r
 SECTIONS\r
 {\r
-       . = 0x00010000;\r
-       .start : { obj/start.o(.text) }\r
-       .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
+       } >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