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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link

To: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: 2007年1月03日 21:40:46 +0000
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年1月03日 13:40:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070103213257.GB6784@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Accvf9OOEf/V15tzEduotgANk04WTA==
Thread-topic: [Xen-devel] [PATCH] mkelf32: Correct sh_link
User-agent: Microsoft-Entourage/11.3.2.061213
On 3/1/07 9:32 pm, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:
> I had in mind something very much like this, we'd just append the
> symtab,strtab, and our debug info on to the image and set something to
> point to the location. This was mostly a workaround of the difficulties
> with building those sections straight into the file in the normal ELF
> manner, though.
We could build them in as ordinary sections in our loadable xen image, but
the bootloader wouldn't load them into memory for us let alone point us at
them. So I think we have to cook all the stuff you're interested in into
PROGBITS (unless you really only want symtab/strtab, but if you're going
this far why not keep stuff like the dwarf debug info as well?).
One nice thing about 'dumbly' appending xen-syms is that the whole image is
then extractable to a file post-crash and can be manipulated by the
developer independently of tools like RH's crash. It's also simple to
implement and doesn't mess with the basic structure of our loadable Xen elf
image (which has acquired various tweaks and workarounds for multiboot
loader bugs).
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] _text vs _start , Keir Fraser
Next by Date: Re: [Xen-devel] _text vs _start , Hollis Blanchard
Previous by Thread: Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link , John Levon
Next by Thread: Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link , John Levon
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /