WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH] [LIBELF] Print phdr addresses when loading

To: Gerd Hoffmann <kraxel@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH] [LIBELF] Print phdr addresses when loading
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Mon, 12 Feb 2007 09:46:18 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Feb 2007 07:48:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45D03BD1.8060702@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <bbbbab538b8802fde101.1171052697@localhost> <45D03BD1.8060702@xxxxxxx>
Reply-to: Hollis Blanchard <hollisb@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2007-02-12 at 11:05 +0100, Gerd Hoffmann wrote:
> Hollis Blanchard wrote:
> > # HG changeset patch
> > # User Hollis Blanchard <hollisb@xxxxxxxxxx>
> > # 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>