|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link
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>
|
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, (continued)
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Keir Fraser
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Christoph Egger
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Keir Fraser
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, John Levon
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Keir Fraser
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, John Levon
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Keir Fraser
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, John Levon
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Keir Fraser
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, John Levon
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link,
Keir Fraser <=
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, John Levon
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Christoph Egger
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Keir Fraser
- Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, Christoph Egger
Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link, grel
|
|
|
|
|