commit | 3fbaa4d6893c5ad6397af410fb3fd2eec1b80126 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Tue Jan 19 14:41:56 2010 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jan 26 19:30:13 2010 +0100 |
tree | 5f2bd327b499525805cb7672eb7fca600ea5376e | |
parent | 4ff6bc0693f7c8bc722aeb9709df3fb4ec659bf5 [diff] |
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>