mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-30 12:00:52 +08: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.*)
|
||||
*(.eh_frame)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.version_information)
|
||||
|
|
|
@ -18,7 +18,7 @@ SECTIONS
|
|||
_version_information_start = ABSOLUTE(.);
|
||||
*(.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); */
|
||||
/* This works, apparently it fools the linker into accepting an absolute address */
|
||||
. = _bootphase1_version_pointer - ORIGIN(bootphase1) + ORIGIN(bootphase1);
|
||||
|
@ -30,6 +30,7 @@ SECTIONS
|
|||
__bootphase2_start__ = .;
|
||||
*(.startphase2)
|
||||
*(.text)
|
||||
*(.eh_frame)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.rodata)
|
||||
|
|
Loading…
Reference in a new issue