Add KEEP() to version information section

Prevents it from being garbage collected
This commit is contained in:
marcansoft 2010-02-26 23:29:22 +00:00
commit 9af4835863
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ SECTIONS
.rodata : {
*(.rodata)
*(.rodata.*)
*(.version_information)
KEEP(*(.version_information))
} >osimage :text
. = ALIGN(4);