From 57fcd2d7d14c7c41242aaae49653f3669971f4d6 Mon Sep 17 00:00:00 2001 From: d18c7db Date: Mon, 7 Sep 2009 09:53:45 +0000 Subject: [PATCH] added eh_frame needed for gcc 4.4.1 or higher --- armsrc/ldscript | 1 + bootrom/ldscript-flash | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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) -- 2.39.2