mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-06 13:11:18 -07:00
Add KEEP() to version information section
Prevents it from being garbage collected
This commit is contained in:
parent
7f7e715756
commit
9af4835863
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ SECTIONS
|
||||||
.rodata : {
|
.rodata : {
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
*(.rodata.*)
|
*(.rodata.*)
|
||||||
*(.version_information)
|
KEEP(*(.version_information))
|
||||||
} >osimage :text
|
} >osimage :text
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
|
@ -25,7 +25,7 @@ SECTIONS
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
_version_information_start = .;
|
_version_information_start = .;
|
||||||
*(.version_information);
|
KEEP(*(.version_information));
|
||||||
|
|
||||||
. = LENGTH(bootphase1) - 0x4;
|
. = LENGTH(bootphase1) - 0x4;
|
||||||
LONG(_version_information_start);
|
LONG(_version_information_start);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue