u-boot-brain/arch/powerpc/cpu/mpc8xx
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
..
bedbug_860.c bedbug_860.c, bedbug_603e.c: Fix return type to silence compile warnings. 2010-09-08 22:02:54 +02:00
commproc.c POST cleanup. 2010-09-21 21:39:31 +02:00
config.mk PowerPC: Move -fPIC flag to common place 2011-04-11 21:36:41 +02:00
cpu_init.c PCU_E: remove code for yet another corpse 2010-10-06 22:22:24 +02:00
cpu.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
fdt.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fec.c miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
fec.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
i2c.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
interrupts.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
kgdb.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
lcd.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
Makefile 8xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:10 +01:00
plprcr_write.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
scc.c net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
serial.c serial: struct serial_device: add uninit() entry for drivers 2010-04-24 21:34:07 +02:00
speed.c Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
spi.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02: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
upatch.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
video.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
wlkbd.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00