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 16:13:24 -0800 Message-ID: <45D3A5A4.7080804@goop.org> References: <20070213221729.772002682@goop.org> <20070213221830.707197267@goop.org> <20070213235424.GA1908@muc.de> <45D35ABE.1050504@goop.org> <45D3740A.4080600@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: > 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. > The Xen domain loader will have to be changed to deal with that, which isn't too much of a problem. My main concern is the randomness of it, and whether it will fail in some more harmful way on other versions 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. > The Xen readnotes utility is essentially that. I'll hack it. J