[U-Boot] [PATCH V3 1/2] [NEXT] arm: change relocation flag from -fPIC to -fPIE

Heiko Schocher
2010-09-28T13:57:00Z

Hello Albert,

Albert Aribaud wrote:
> Replace GOT indirect addressing with more efficient pic-base
> relative addressing for initialized data (uninitialized data
> still use GOTi indirect addressing). This also reduces code
> size by 0.4% compared to -fPIC.
>
> Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>

Tested on the tx25 board.

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

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany