[U-Boot] [PATCH] PowerPC: Add support for -msingle-pic-base
Wolfgang Denk
wd at denx.de
Mon Apr 11 21:39:02 CEST 2011
Dear Joakim Tjernlund,
In message <1291656937-24619-1-git-send-email-Joakim.Tjernlund at transmode.se> you wrote:
> -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 at transmode.se>
> ---
> arch/powerpc/config.mk | 2 ++
> arch/powerpc/cpu/74xx_7xx/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc512x/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc5xx/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc5xxx/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc8220/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc824x/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc8260/start.S | 6 +++++-
> arch/powerpc/cpu/mpc83xx/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc85xx/start.S | 10 ++++++++++
> arch/powerpc/cpu/mpc86xx/start.S | 11 ++++++++++-
> arch/powerpc/cpu/mpc8xx/start.S | 11 ++++++++++-
> arch/powerpc/cpu/ppc4xx/start.S | 22 ++++++++++++++++++++--
> 13 files changed, 127 insertions(+), 12 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Put your Nose to the Grindstone!
-- Amalgamated Plastic Surgeons and Toolmakers, Ltd.
More information about the U-Boot
mailing list