|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to hand
To: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Subject: |
[Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen |
From: |
ebiederm@xxxxxxxxxxxx (Eric W. Biederman) |
Date: |
Wed, 14 Feb 2007 14:06:56 -0700 |
Cc: |
Andrew Morton <akpm@xxxxxxxx>, Zachary Amsden <zach@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxx, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxxxxxx>, Andi Kleen <ak@xxxxxx> |
Delivery-date: |
Thu, 15 Feb 2007 01:41:07 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<45D3740A.4080600@xxxxxxxx> (Jeremy Fitzhardinge's message of "Wed, 14 Feb 2007 12:41:46 -0800") |
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> |
References: |
<20070213221729.772002682@xxxxxxxx> <20070213221830.707197267@xxxxxxxx> <20070213235424.GA1908@xxxxxx> <45D35ABE.1050504@xxxxxxxx> <m1zm7gpkjh.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx> <45D3740A.4080600@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
> Eric W. Biederman wrote:
>> Well I did a little by hand parsing and the not I parsed looked ok.
>>
>> How does the output differ from a what you get when xen-head.S is
>> included?
>>
> Ah!
>
> The .notes section gets SHT_NOTE in vmlinux when xen-head.S is included;
> PROGBITS when linked. I tried putting @note on the .section in
> linux/elfnote.h, but that didn't seem to help (xen-note.o got a SHT_NOTE
> entry, but it didn't make it into vmlinux). I couldn't see any way of
> forcing the section type in vmlinux.lds; my experiments all ended with
> ld dumping core.
Ok. If that is all this may be a difference that makes no difference.
binutils has a bad habit of looking at sections (which are fully
optional) instead of segments on ET_EXEC and ET_DYN objects. Only
ET_REL objects (.o files) are required to have sections.
It is worth checking but as long as something looking strictly at the
program headers can find the notes and read them we are in good shape.
That readelf -n has a problem there concerns me a little but as
usually that program is better than the rest of binutils.
So I recommend for testing write a 100 line program that includes
elf.h and reads out the note segment. If all is well we can split
this code out.
Eric
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch 20/21] Xen-paravirt: Add Xen virtual block device driver., (continued)
- [Xen-devel] [patch 20/21] Xen-paravirt: Add Xen virtual block device driver., Jeremy Fitzhardinge
- [Xen-devel] [patch 21/21] Xen-paravirt: Add the Xen virtual network device driver., Jeremy Fitzhardinge
- [Xen-devel] [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Andi Kleen
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Eric W. Biederman
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen,
Eric W. Biederman <=
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Eric W. Biederman
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Eric W. Biederman
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Eric W. Biederman
[Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen, Eric W. Biederman
[Xen-devel] [patch 19/21] Xen-paravirt: Add the Xenbus sysfs and virtual device hotplug driver., Jeremy Fitzhardinge
[Xen-devel] [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface, Jeremy Fitzhardinge
|
|
|
|
|