X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fb22897415bd3892374bb46012cf4e9d5c4cf965..a66f26da182040ac798a7c629d255cb86803e9c2:/armsrc/ldscript?ds=sidebyside

diff --git a/armsrc/ldscript b/armsrc/ldscript
index 6175564d..34da26bc 100644
--- a/armsrc/ldscript
+++ b/armsrc/ldscript
@@ -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)