[U-Boot] [PATCH V3 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

Albert ARIBAUD
2010-09-29T06:04:00Z

Le 28/09/2010 15:57, Heiko Schocher a ?crit :
> Hello Albert,
>
> Albert Aribaud wrote:
>> Add -msingle-pic-base to the relocation flags, and compute the pic base
>> in start.S twice and for all -- once before relocation to run board_init_f,
>> and once after relocation to run board_init_r and the rest of u-boot.
>> This further reduces code size by 2.5% compared to -fPIE alone.
>>
>> Signed-off-by: Albert Aribaud<albert.aribaud@free.fr>
>
> Tested on the tx25 board.
>
> Tested-by: Heiko Schocher<hs@denx.de>

Thanks Heiko.

BTW, I forgot to mention that patch 2/2 of this set, being partly
written by Heiko for the tx25 part, is

Signed-off-by: Heiko Schocher<hs@denx.de>

> bye,
> Heiko

Amicalement,
--
Albert.