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

Ben Gardiner bengardiner at nanometrics.ca
Wed Sep 22 20:05:46 CEST 2010


On Wed, Sep 22, 2010 at 9:57 AM, Albert Aribaud <albert.aribaud at 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 at free.fr>

Applies clean to u-boot/next.

Tested on da850evm; u-boot loads and gives the "DA850-evm >" prompt.

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

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca


More information about the U-Boot mailing list