[U-Boot] [PATCH] powerpc/85xx: fix NAND boot linker scripts for -fpic

Scott Wood scottwood at freescale.com
Sat May 19 01:00:02 CEST 2012


On 05/01/2012 04:45 PM, Scott Wood wrote:
> GOT is now handled the way the main u-boot.lds does it.  Without this,
> the boot hangs when built with newer GCC (since 4.6).  Older toolchains
> hid the issue by converting -fpic to -fPIC.
> 
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
>  arch/powerpc/cpu/mpc85xx/u-boot-nand.lds     |    5 +++--
>  arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds |    4 +++-
>  2 files changed, 6 insertions(+), 3 deletions(-)

Applied to u-boot-nand-flash

-Scott



More information about the U-Boot mailing list