diff --git a/armsrc/ldscript b/armsrc/ldscript index a3aedef11..8e3231c08 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 777ac8bc0..ccc0db2ff 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)