[RFC v3 PATCH 4/4] Relocation support

Segher Boessenkool segher at kernel.crashing.org
Sat Jul 19 03:48:10 EST 2008


> This patch changes all LOAD_REG_ADDR macro calls to LOAD_REG_IMMEDIATE
> to make sure that we load the correct address.

Did you figure out _why_ LOAD_REG_ADDR doesn't work?  Using
LOAD_REG_IMMEDIATE is actually a step back, it makes the kernel
binary non-PIC.  And LOAD_REG_ADDR _should_ work just fine with
your scheme.


Segher




More information about the Linuxppc-dev mailing list