]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/85xx: fix NAND boot linker scripts for -fpic
authorScott Wood <scottwood@freescale.com>
Tue, 1 May 2012 21:37:57 +0000 (16:37 -0500)
committerScott Wood <scott@tyr.buserror.net>
Fri, 18 May 2012 22:34:39 +0000 (17:34 -0500)
commitd2a97daf629a49a416ed405b8c7c2a1e77b99148
treec28fd96888c62db5b50aa05b6f2a5e1f6eda211c
parent418396e212b59bf907dbccad997ff50f7eb61b16
powerpc/85xx: fix NAND boot linker scripts for -fpic

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@freescale.com>
arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds