[U-Boot] [RFC] [PATCH V2] arm: arm926ejs: use ELF relocations
Heiko Schocher
hs at denx.de
Tue Oct 5 11:15:13 CEST 2010
Hello Reinhard,
Reinhard Meyer wrote:
> Dear ALL,
>> Hah... with this patch it works:
>>
>> diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S
>> index 5a7ae7e..cf3a59f 100644
>> --- a/arch/arm/cpu/arm926ejs/start.S
>> +++ b/arch/arm/cpu/arm926ejs/start.S
>> @@ -266,7 +266,7 @@ fixnext:
>> str r1, [r0]
>> add r2, r2, #8 /* each rel.dyn entry is 8 bytes */
>> cmp r2, r3
>> - ble fixloop
>> + bne fixloop
>
> Indeed, with this single change (not using NAND options here)
> it works, too, and data gets properly relocated, since "sf probe"
> works, too (it does not do so with Heiko's relocation)
Great!
> Hurray!!!!
... but I don;t know if this is the right change! Better would
be to know, why the last entry in __rel_dyn_start is filled with
00000000 ...
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list