Re: [PATCH 3/5] Apply relocation
From: Paul Mackerras <hidden>
Date: 2008-08-12 00:23:25
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 <redacted> --- 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.