commit | 69c096419a52b7941ae0740028ed4070be97c65c | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Thu Feb 14 22:43:22 2008 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Thu Feb 14 22:43:22 2008 +0100 |
tree | c105ae64bb203f93e670ef11b3256a4a3086c0ad | |
parent | 533937d35b1bd10d8f53cb790d6abe2e008331b7 [diff] |
PPC: Use r2 instead of r29 as global data pointer R29 was an unlucky choice as with recent toolchains (gcc-4.2.x) gcc will refuse to use load/store multiple insns; instead, it issues a list of simple load/store instructions upon function entry and exit, resulting in bigger code size, which in turn makes the build for a few boards fail. Use r2 instead. Signed-off-by: Wolfgang Denk <wd@denx.de>