[U-Boot] Most ARM CPU's have buggy clear_bss?

Albert ARIBAUD albert.aribaud at free.fr
Fri Oct 29 17:23:02 CEST 2010


Le 29/10/2010 17:05, Alexander Holler a écrit :
> Am 29.10.2010 16:54, schrieb Albert ARIBAUD:
>> Le 29/10/2010 16:37, Alexander Holler a écrit :
>>> Hello,
>>>
>>> I don't quote the rest, just read the mails before. ;)
>>>
>>>
>>> Here is the what I've done with the current head and the resulting
>>> output:
>>> ------------------------------------------------------------------------
>>
>> The generated assembler code isn't really workable, at least I don't
>> feel comfortable with it. Could you instead do an objdump -d -S
>> .../nand.o>  nand.lst and make the nand.lst files for each case available?
>
> Here it is:
>
> http://ahsoftware.de/nand.lst.notworking.gcc.4.5.1_without-fpic
>
> and
>
> http://ahsoftware.de/nand.lst.working.gcc.4.5.1_with-fpic
>
> I could offer the output of "gcc ... -gstabs+ -Wa,-ahldn -c nand.c
>   >nand.s" too, this is what I'm often using but it looks like the output
> of objdump ;)
>
> Regards,
>
> Alexander

The assemble is better, but now I see that objdump does not show all of 
the code, particularly not all of the literals. Can you provide the ELF 
binary (not the pure binary) for both cases? This way I can readelf and 
objdump, plus I can compare this to my own builds.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list