Re: [RFC v3 PATCH 4/4] Relocation support
From: Segher Boessenkool <hidden>
Date: 2008-07-18 17:48:54
From: Segher Boessenkool <hidden>
Date: 2008-07-18 17:48:54
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