From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen Date: Wed, 14 Feb 2007 12:41:46 -0800 Message-ID: <45D3740A.4080600@goop.org> References: <20070213221729.772002682@goop.org> <20070213221830.707197267@goop.org> <20070213235424.GA1908@muc.de> <45D35ABE.1050504@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Eric W. Biederman" Cc: Andrew Morton , Zachary Amsden , xen-devel@lists.xensource.com, virtualization@lists.osdl.org, Ian Campbell , linux-kernel@vger.kernel.org, Chris Wright , Andi Kleen List-Id: virtualization@lists.linuxfoundation.org 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. J