From: marcansoft Date: Fri, 26 Feb 2010 23:29:22 +0000 (+0000) Subject: Add KEEP() to version information section X-Git-Tag: v1.0.0~302 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/9af48358635096a05e23b260c23d30f7e7ce3513?ds=inline Add KEEP() to version information section Prevents it from being garbage collected --- diff --git a/armsrc/ldscript b/armsrc/ldscript index a61938ed..70be53b5 100644 --- a/armsrc/ldscript +++ b/armsrc/ldscript @@ -39,7 +39,7 @@ SECTIONS .rodata : { *(.rodata) *(.rodata.*) - *(.version_information) + KEEP(*(.version_information)) } >osimage :text . = ALIGN(4); diff --git a/bootrom/ldscript-flash b/bootrom/ldscript-flash index 9a31867d..f1bab149 100644 --- a/bootrom/ldscript-flash +++ b/bootrom/ldscript-flash @@ -25,7 +25,7 @@ SECTIONS . = ALIGN(4); _version_information_start = .; - *(.version_information); + KEEP(*(.version_information)); . = LENGTH(bootphase1) - 0x4; LONG(_version_information_start);