[U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

Alexander Holler holler at ahsoftware.de
Thu Nov 4 11:46:08 CET 2010


Am 04.11.2010 11:26, schrieb Alexander Holler:
> I've just tested that patch using my small test-patch:
>
> -----------------------------------------------------------
> Marvell>>  g 0x700000
> ## Starting application at 0x00700000 ...
>
>
> U-Boot 2010.12-rc1-00037-g0ab2006 (Nov 04 2010 - 11:14:24)
> Seagate-DockStar
>
> SoC:   Kirkwood 88F6281_A0
> DRAM:  128 MiB
> (relocated) BSS is from 07fa8f60 to 07fef040
> &monitor_flash_len: 00752f60
> WARNING: relocation failed (&monitor_flash_len is outside reloctated BSS)!
> -----------------------------------------------------------

So the suggested change from Steve Sakoman (reordered fix from Albert 
Aribaud) still seems to be the one to prefer.

Here it is again:

--------------------------
  arch/arm/cpu/arm926ejs/u-boot.lds |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/arm926ejs/u-boot.lds 
b/arch/arm/cpu/arm926ejs/u-boot.lds
index 72f45f8..eefdca9 100644
--- a/arch/arm/cpu/arm926ejs/u-boot.lds
+++ b/arch/arm/cpu/arm926ejs/u-boot.lds
@@ -46,7 +46,7 @@ SECTIONS
         . = ALIGN(4);

         __rel_dyn_start = .;
-       .rel.dyn : { *(.rel.dyn) }
+       .rel.dyn : { *(.rel.*) }
         __rel_dyn_end = .;

         __dynsym_start = .;
-- 
1.7.2.2
--------------------------

Regards,

Alexander


More information about the U-Boot mailing list