]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ldscript
Compress the .data section as well (saves another 4KBytes and comes for free)
[proxmark3-svn] / armsrc / ldscript
index 6175564dceff930950c4b272d3b60536cc1cbda2..34da26bcdfd8cee58e6bfa99cb6bfb4c57eb59af 100644 (file)
@@ -24,6 +24,7 @@ SECTIONS
        } >osimage :text
 
        .text : {
+               KEEP(*(stage1_image))
                *(.text)
                *(.text.*)
                *(.eh_frame)
@@ -36,11 +37,11 @@ SECTIONS
                *(.rodata.*)
                *(fpga_all_bit.data)
                KEEP(*(.version_information))
+               . = ALIGN(8);
        } >osimage :text
 
-       . = ALIGN(4);
-
        .data : {
+               KEEP(*(compressed_data))
                *(.data)
                *(.data.*)
                *(.ramfunc)
Impressum, Datenschutz