From: Keir Fraser Subject: Re: [patch] architecture-specific ELF header checking Date: Tue, 13 Jun 2006 10:15:53 +0100 Message-ID: References: <1150143142.9179.36.camel@basalt.austin.ibm.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1150143142.9179.36.camel@basalt.austin.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard Cc: xen-devel , xen-ia64-devel List-Id: xen-devel@lists.xenproject.org On 12 Jun 2006, at 21:12, Hollis Blanchard wrote: > This patch has only been compile-tested on x86, but it should be pretty > straightforward. It could break IA64 since it adds checks they weren't > doing before, but I would expect their ELF binaries are labeled > properly. I am not keen on adding loads of -D CFLAGS options for very localised/specific macros. They could go in a per-arch header file, but I think in this case just having ifdef's in xc_elf.h is clean enough. Nothing outside the ELF-parsing code should be looking at these values so keeping them private is sensible. Apart from that, the general idea is fine so I'll modify and apply. -- Keir