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

Ben Gardiner
2010-09-28T13:38:58Z

On Tue, Sep 28, 2010 at 9:14 AM, Albert Aribaud <albert.aribaud@free.fr> 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>

Applies cleanly to 3df61957938586c512c17e72d83551d190400981 of u-boot/next.

Tested on da850evm -- u-boot prompt is obtained and bootm of linux
uImage is possible with the fix for bootparam address on the da850evm.

Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>

Best Regards,
Ben Gardiner

---
Nanometrics Inc.