[RFC v3 PATCH 1/4] Extract list of relocation offsets

Mohan Kumar M mohan at in.ibm.com
Fri Jul 18 15:32:16 EST 2008


Benjamin Herrenschmidt wrote:
> On Fri, 2008-07-18 at 00:10 +0530, Mohan Kumar M wrote:
>> Extract list of relocation offsets
>>
>> Extract list of offsets in the vmlinux file for which the relocation
>> delta has to be patched. Currently only following type of relocation
>> types are considered: R_PPC64_ADDR16_HI, R_PPC64_TOC and R_PPC64_ADDR64
>>
>> The offsets are sorted according to the relocation type and this
>> information is appended to the normal vmlinux file by using the patch
>> relocation_build.patch
> 
> Please, provide an indication of what changed since the previous
> version of the patch to make the reviewer's life easier !
>
Hi,

Oops, I missed out the detailed change description. Thanks Ben for 
pointing this.

Here is a change summary from v2 to v3:

PATCH 1:
The difference is relocs.c is moved to arch/powerpc/boot from arch/powerpc/

PATCH 2:
Relocation build support is now 90% integrated with kernel build 
process. Earlier one has to run separately different make to build 
vmlinux.reloc image. Required linker scripts are moved to 
arch/powerpc/boot from arch/powerpc

PATCH 3:
The difference is reloc_apply.S is moved to arch/powerpc/boot from 
arch/powerpc/

PATCH 4:
Enough care is taken when creating bolted mapping for kdump kernel. Now 
it creates bolted mapping from 32MB to of size "crash kernel size" in 
case of crash kernel.

Regards,
Mohan.



More information about the Linuxppc-dev mailing list