mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-15 09:43:00 -07:00
added eh_frame needed for gcc 4.4.1 or higher
This commit is contained in:
parent
a8120704f7
commit
57fcd2d7d1
2 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@ SECTIONS
|
||||||
.text : {
|
.text : {
|
||||||
*(.text)
|
*(.text)
|
||||||
*(.text.*)
|
*(.text.*)
|
||||||
|
*(.eh_frame)
|
||||||
*(.glue_7)
|
*(.glue_7)
|
||||||
*(.glue_7t)
|
*(.glue_7t)
|
||||||
*(.version_information)
|
*(.version_information)
|
||||||
|
|
|
@ -18,7 +18,7 @@ SECTIONS
|
||||||
_version_information_start = ABSOLUTE(.);
|
_version_information_start = ABSOLUTE(.);
|
||||||
*(.version_information);
|
*(.version_information);
|
||||||
|
|
||||||
/* Why doesn't this work even though _bootphase1_version_pointer = 0x1001fc?
|
/* Why doesn't this work even though _bootphase1_version_pointer = 0x1001fc?
|
||||||
. = _bootphase1_version_pointer - ORIGIN(bootphase1); */
|
. = _bootphase1_version_pointer - ORIGIN(bootphase1); */
|
||||||
/* This works, apparently it fools the linker into accepting an absolute address */
|
/* This works, apparently it fools the linker into accepting an absolute address */
|
||||||
. = _bootphase1_version_pointer - ORIGIN(bootphase1) + ORIGIN(bootphase1);
|
. = _bootphase1_version_pointer - ORIGIN(bootphase1) + ORIGIN(bootphase1);
|
||||||
|
@ -30,6 +30,7 @@ SECTIONS
|
||||||
__bootphase2_start__ = .;
|
__bootphase2_start__ = .;
|
||||||
*(.startphase2)
|
*(.startphase2)
|
||||||
*(.text)
|
*(.text)
|
||||||
|
*(.eh_frame)
|
||||||
*(.glue_7)
|
*(.glue_7)
|
||||||
*(.glue_7t)
|
*(.glue_7t)
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue