]> git.sur5r.net Git - u-boot/commit
PowerPC: Add support for -msingle-pic-base
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Mon, 6 Dec 2010 17:35:37 +0000 (18:35 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 11 Apr 2011 19:38:47 +0000 (21:38 +0200)
commit39768f7715ed637ef02f49fc7de664cc1aaf14b3
treea5cc618786f64865df878d1d025de7672b5036da
parent33ee4c92339ee386662c0ee2d221098c5cc8b07e
PowerPC: Add support for -msingle-pic-base

-msingle-pic-base is a new gcc option for ppc and
it reduces the size of my u-boot with 6-8 KB.
While at it, add -fno-jump-tables too to save a
few more bytes.

-msingle-pic-base will be in gcc 4.6, however
backported patches are available at
http://bugs.gentoo.org/show_bug.cgi?id=347281

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
13 files changed:
arch/powerpc/config.mk
arch/powerpc/cpu/74xx_7xx/start.S
arch/powerpc/cpu/mpc512x/start.S
arch/powerpc/cpu/mpc5xx/start.S
arch/powerpc/cpu/mpc5xxx/start.S
arch/powerpc/cpu/mpc8220/start.S
arch/powerpc/cpu/mpc824x/start.S
arch/powerpc/cpu/mpc8260/start.S
arch/powerpc/cpu/mpc83xx/start.S
arch/powerpc/cpu/mpc85xx/start.S
arch/powerpc/cpu/mpc86xx/start.S
arch/powerpc/cpu/mpc8xx/start.S
arch/powerpc/cpu/ppc4xx/start.S