From: d18c7db Date: Mon, 7 Sep 2009 09:53:45 +0000 (+0000) Subject: added eh_frame needed for gcc 4.4.1 or higher X-Git-Tag: v1.0.0~479 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/57fcd2d7d14c7c41242aaae49653f3669971f4d6 added eh_frame needed for gcc 4.4.1 or higher --- diff --git a/armsrc/ldscript b/armsrc/ldscript index a3aedef1..8e3231c0 100644 --- a/armsrc/ldscript +++ b/armsrc/ldscript @@ -10,6 +10,7 @@ SECTIONS .text : { *(.text) *(.text.*) + *(.eh_frame) *(.glue_7) *(.glue_7t) *(.version_information) diff --git a/bootrom/ldscript-flash b/bootrom/ldscript-flash index 777ac8bc..ccc0db2f 100644 --- a/bootrom/ldscript-flash +++ b/bootrom/ldscript-flash @@ -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)