]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc: Use r12 instead of r14 as GOT pointer.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 19 Jan 2010 13:41:56 +0000 (14:41 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Jan 2010 18:30:13 +0000 (19:30 +0100)
commit0f8aa159175385ddd77bc91d11b9568583fbbd0c
tree5f2bd327b499525805cb7672eb7fca600ea5376e
parentfc4e188789b01dc9f18c80869c43fdd7d1a51378
ppc: Use r12 instead of r14 as GOT pointer.

r14 is not supposed to be clobbered by functions. Switch
to r12 and call GET_GOT when needed. This will allow u-boot
to loose the -ffixed-r14 gcc option.

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