]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ldscript
Merge pull request #89 from pwpiwi/image_shrink
[proxmark3-svn] / armsrc / ldscript
index a61938edd90ee9ddea530c112c4bdc7e68b10c4c..840b819643dcb21e49b7fc4159f138706e142fb6 100644 (file)
@@ -11,8 +11,7 @@ INCLUDE ../common/ldscript.common
 
 PHDRS
 {
-       fpgaimage PT_LOAD FLAGS(4);
-       text PT_LOAD;
+       text PT_LOAD FLAGS(5);
        data PT_LOAD;
        bss PT_LOAD;
 }
@@ -20,10 +19,6 @@ PHDRS
 ENTRY(Vector)
 SECTIONS
 {
-       .fpgaimage : {
-               *(fpga_bit.data)
-       } >fpgaimage :fpgaimage
-
        .start : {
                *(.startos)
        } >osimage :text
@@ -39,7 +34,9 @@ SECTIONS
        .rodata : {
                *(.rodata)
                *(.rodata.*)
-               *(.version_information)
+               *(fpga_lf_bit.data)
+               *(fpga_hf_bit.data)
+               KEEP(*(.version_information))
        } >osimage :text
 
        . = ALIGN(4);
@@ -47,6 +44,7 @@ SECTIONS
        .data : {
                *(.data)
                *(.data.*)
+               *(.ramfunc)
                . = ALIGN(4);
        } >ram AT>osimage :data
 
Impressum, Datenschutz