Return-Path: Received: from koto.vergenet.net (koto.vergenet.net [210.128.90.7]) by ozlabs.org (Postfix) with ESMTP id 0FA84DDF23 for ; Thu, 12 Apr 2007 13:25:03 +1000 (EST) Date: Thu, 12 Apr 2007 12:24:47 +0900 From: Simon Horman To: Milton Miller Subject: Re: [PATCH kexec-tools] ppc64: correct @ha relocation Message-ID: <20070412032446.GA5184@verge.net.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Vivek Goyal , fastboot@lists.osdl.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. This and the following patch seem fine to me. But I would appreciate a review from someone a little more ppc savy than I. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/