Skip to content
Snippets Groups Projects
Commit e7670f6c authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

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: default avatarWolfgang Denk <wd@denx.de>
parent 3c234efa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment