PowerPC: Add relocation support for -fpic
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Fri, 3 Dec 2010 16:30:37 +0000 (17:30 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 17 Dec 2010 19:25:10 +0000 (20:25 +0100)
commit337f5f50f539cc1ea1e0533c096e237228f12cae
tree2bb63f5cf53a831fbaab8c9446374b280e457a97
parent09344530abe6e391db6aec27b2117d6d5fbd03fa
PowerPC: Add relocation support for -fpic

By rearranging the linker script we get support for
relocation of -fpic for free.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Scott Wood <scottwood@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
arch/powerpc/cpu/74xx_7xx/u-boot.lds
arch/powerpc/cpu/mpc512x/u-boot.lds
arch/powerpc/cpu/mpc5xx/u-boot.lds
arch/powerpc/cpu/mpc5xxx/u-boot.lds
arch/powerpc/cpu/mpc8220/u-boot.lds
arch/powerpc/cpu/mpc824x/u-boot.lds
arch/powerpc/cpu/mpc8260/u-boot.lds
arch/powerpc/cpu/mpc83xx/u-boot.lds
arch/powerpc/cpu/mpc85xx/u-boot.lds
arch/powerpc/cpu/mpc86xx/u-boot.lds
arch/powerpc/cpu/ppc4xx/u-boot.lds