|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link
On Wed, Jan 03, 2007 at 09:40:46PM +0000, Keir Fraser 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.
Unless I'm misunderstanding badly isn't this just a case of changing the
mapfile to stick them into the single program header.
> 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).
It's perhaps a bit silly to have .text twice etc.though. I'm not
familiar with the tweaks you mention so I'm sure you're right there.
john
_______________________________________________
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, 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
|
|
|
|
|