[U-Boot] arm: wrong Relocation and not cleared BSS

Albert ARIBAUD albert.aribaud at free.fr
Tue Nov 2 07:32:28 CET 2010


Le 02/11/2010 06:58, V, Aneesh a écrit :
> Hi Heiko,
>
>> -----Original Message-----
>> From: u-boot-bounces at lists.denx.de [mailto:u-boot-
>> bounces at lists.denx.de] On Behalf Of V, Aneesh
>> Sent: Tuesday, November 02, 2010 11:10 AM
>> To: hs at denx.de; Alexander Holler
>> Cc: Darius Augulis; u-boot at lists.denx.de
>> Subject: Re: [U-Boot] arm: wrong Relocation and not cleared BSS
>>
>>
>> Assembly listing:
>> *****************
>> 80e8017c<_board_init_r_ofs>:
>> 80e8017c:       00000748        .word   0x00000748
>>
>> 80e80180<_rel_dyn_start_ofs>:
>> 80e80180:       0002358c        .word   0x0002358c
>>
>> 80e80184<_rel_dyn_end_ofs>:
>> 80e80184:       0002358c        .word   0x0002358c
>>
>> 80e80188<_dynsym_start_ofs>:
>> 80e80188:       0002358c        .word   0x0002358c
>>
>
> I don't know if this was clear in the previous mail. Please note that
> last three labels have same value.
>
> Best regards,
> Aneesh

Aneesh,

This has been seen on tx25 and analyzed over the last few days. The root 
cause was found to be a change in the .rel.dyn handling by the 
compilers. See if the fixes in

<http://article.gmane.org/gmane.comp.boot-loaders.u-boot/88156>
<http://article.gmane.org/gmane.comp.boot-loaders.u-boot/88157>
<http://article.gmane.org/gmane.comp.boot-loaders.u-boot/88158>

can apply to your board; either the .lds fix as done in the first two 
patches, or the fix in the third one, or both.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list