From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: Re: [PATCH] [LIBELF] Print phdr addresses when loading Date: Mon, 12 Feb 2007 09:46:18 -0600 Message-ID: <1171295178.518.2.camel@basalt> References: <45D03BD1.8060702@suse.de> Reply-To: Hollis Blanchard Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45D03BD1.8060702@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, 2007-02-12 at 11:05 +0100, Gerd Hoffmann wrote: > Hollis Blanchard wrote: > > # HG changeset patch > > # User Hollis Blanchard > > # Date 1171052336 21600 > > # Node ID bbbbab538b8802fde10139f0c2ae7307c1ecf812 > > # Parent f63c8b64840956b95a911387e1de6f76bd3dc3d5 > > [LIBELF] Print phdr addresses when loading. > > elf_parse_binary() prints them already ... > Why print them again? It's not just the address contained in the phdr; it's the address the phdr is being loaded at. Seeing the calculation of elf_get_ptr() is important. -- Hollis Blanchard IBM Linux Technology Center