[PATCH kexec-tools] ppc64: correct @ha relocation

Simon Horman horms at verge.net.au
Fri Apr 13 11:35:01 EST 2007


On Thu, Apr 12, 2007 at 01:47:16PM +0530, Mohan Kumar M wrote:
> On Wed, Apr 11, 2007 at 03:30:00AM -0500, Milton Miller wrote:
> > 
> > The @ha relocation is supposed to account for the @l relocation being
> > a signed quantity by adding 1 if the msb of @l is set.
> > 
> > The trick of adding 0x8000 stolen from the linux kernel file
> > arch/powerpc/kernel/module_64.c which credits binutils.
> > 
> > Signed-off-by: Milton Miller <miltonm at bga.com>
> >
> Acked-by: Mohan Kumar M <mohan at in.ibm.com>
> 
> 
> Cross checked with PPC64 ELF ABI also.

Thanks Milton. Thanks Mohan. I've applied this to kexec-tools-testing.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/




More information about the Linuxppc-dev mailing list