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

Albert ARIBAUD albert.aribaud at free.fr
Fri Nov 5 10:04:20 CET 2010


Le 05/11/2010 09:38, Reinhard Meyer a écrit :
> Dear Albert Aribaud,
>> older ld emitted all ELF relocations in input sections named
>> .rel.dyn, whereas newer ld uses names of the form .rel*. The
>> linker script only collected .rel.dyn input sections. Rewrite
>> to collect all .rel* input sections and overlay with .bss.
>>
>> Signed-off-by: Albert Aribaud<albert.aribaud at free.fr>
>> ---
> Thank you,
> works fine with:
>
> gcc 4.2.4 (binary size 258700)
> gcc 4.3.5 (binary size 251600 - nice!)
>
> (ARM9 AT91SAM9XE512, top9000, TOT u-boot-atmel at91cleanup-rework branch)

Thanks for testing. The size reduction is due to the gcc ARM backend 
which has obviously undergone many improvements since gcc 4.2.x. 
Openrd_base goes from 376 to 360k, and edminiv2 (untested yet, though) 
from 152 to 144k when using the CS arm-2010q1-202 toolchain (4.4.1) 
instead of the ELDK 4.2 one (gcc 4.2.2).

> Signed-off-by: Reinhard Meyer<u-boot at emk-elektronik.de>

Did you mean 'Tested-by:'?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list