]> git.dujemihanovic.xyz Git - u-boot.git/commit
mpc83xx: Add support for -msingle-pic-base
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>
Wed, 28 Nov 2018 09:59:55 +0000 (10:59 +0100)
committerMario Six <mario.six@gdsys.cc>
Mon, 21 Jan 2019 07:33:42 +0000 (08:33 +0100)
commit64d68dcdd7de3f8a20753a73a988835fafc3ce7c
tree9f68e5cc4f14f60a93219bc75b54284489b56fb8
parent2acc24fc28ef782f4baef1aa0193d520ee9610b9
mpc83xx: Add support for -msingle-pic-base

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

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Reviewed-by: Mario Six <mario.six@gdsys.cc>
Tested-by: Mario Six <mario.six@gdsys.cc> (on MPC8308)
arch/powerpc/cpu/mpc83xx/config.mk
arch/powerpc/cpu/mpc83xx/start.S