[PATCH 3/5] Apply relocation

Paul Mackerras paulus at samba.org
Tue Aug 12 10:23:25 EST 2008


Mohan Kumar M writes:

> Apply relocation
> 
> This code is a wrapper around regular kernel. This checks whether the
> kernel is loaded at 32MB, if its not loaded at 32MB, its treated as a
> regular kernel and the control is given to the kernel immediately. If
> the kernel is loaded at 32MB, it applies relocation delta to each offset
> in the list which was generated and appended by patch 1 and 2. After
> updating all offsets, control is given to the relocatable kernel.
> 
> Signed-off-by: Mohan Kumar M <mohan at in.ibm.com>
> ---
>  arch/powerpc/boot/vmlinux.lds.S     |   28 ++++++++++++++++++++++++++++
>  arch/powerpc/boot/vmlinux.reloc.scr |    8 ++++++++
>  2 files changed, 36 insertions(+), 0 deletions(-)

I think there is some stuff missing here...  This patch only adds two
linker scripts.

Paul.



More information about the Linuxppc-dev mailing list