u-boot-brain/arch/powerpc/cpu/mpc86xx
Joakim Tjernlund 33ee4c9233 PowerPC: Move -fPIC flag to common place
The -fPIC flag belongs with -mrelocatable, move it there.
Also change -fPIC to -fpic as this produces smaller
binaries.
However, currently -mrelocatable promotes -fpic to -fPIC, a
fix for this is in upcoming gcc 4.6 or you can apply this small
patch to gcc:

diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 8da8410..e4b8280 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -227,7 +227,8 @@ do {									\
     }									\
 									\
   else if (TARGET_RELOCATABLE)						\
-    flag_pic = 2;							\
+    if (!flag_pic)							\
+      flag_pic = 2;							\
 } while (0)

 #ifndef RS6000_BI_ARCH
--

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
2011-04-11 21:36:41 +02:00
..
cache.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
config.mk PowerPC: Move -fPIC flag to common place 2011-04-11 21:36:41 +02:00
cpu_init.c powerpc/86xx: Enable common SRIO init code 2011-01-14 01:32:21 -06:00
cpu.c 74xx_7xx/mpc86xx/ppmc7xx: Fix do_reset() declaration 2010-12-17 20:26:19 +01:00
ddr-8641.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fdt.c powerpc/86xx: Enable common SRIO init code 2011-01-14 01:32:21 -06:00
interrupts.c mpc8[5/6]xx: Ensure POST word does not get reset 2011-03-13 11:24:44 -05:00
Makefile powerpc/86xx: Add SERDES support on MPC8641 & MPC8610 2011-01-14 01:32:18 -06:00
mp.c powerpc/8xxx: Add is_core_disabled to remove disabled cores from dtb 2010-07-16 10:55:08 -05:00
mpc8610_serdes.c powerpc/86xx: Add SERDES support on MPC8641 & MPC8610 2011-01-14 01:32:18 -06:00
mpc8641_serdes.c powerpc/86xx: Add SERDES support on MPC8641 & MPC8610 2011-01-14 01:32:18 -06:00
release.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
speed.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
start.S rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
traps.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.lds rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00