
Hi Albert,
-----Original Message----- From: Albert ARIBAUD [mailto:albert.aribaud@free.fr] Sent: Tuesday, November 02, 2010 12:02 PM To: V, Aneesh Cc: hs@denx.de; Alexander Holler; Darius Augulis; u- boot@lists.denx.de Subject: Re: arm: wrong Relocation and not cleared BSS
Le 02/11/2010 06:58, V, Aneesh a écrit :
Hi Heiko,
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot- bounces@lists.denx.de] On Behalf Of V, Aneesh Sent: Tuesday, November 02, 2010 11:10 AM To: hs@denx.de; Alexander Holler Cc: Darius Augulis; u-boot@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.
Thanks. This helps. I did the .lds change and it seems to be booting now.
However, I can't still explain my earlier observation because even in the absence of this fix .rel.dyn had some content and the offsets should have been different if I were to believe objdump.
Do you have any clue?
Best regards, Aneesh