From: Hollis Blanchard Subject: Re: [patch] architecture-specific ELF header checking Date: Thu, 15 Jun 2006 09:50:26 -0500 Message-ID: <1150383027.767.3.camel@basalt.austin.ibm.com> References: <1150143142.9179.36.camel@basalt.austin.ibm.com> <1150211844.31548.10.camel@basalt.austin.ibm.com> <448FBD3A.1050701@suse.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <448FBD3A.1050701@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: xen-devel , xen-ia64-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2006-06-14 at 09:39 +0200, Gerd Hoffmann wrote: > > For libxc we probably need per-arch subdirectories for arch-specific > > source files. There's all sorts of intermingled arch-specific code in > > tools/libxc right now. We could then have arch-specific implementations > > of xc_elf_check_header() or somesuch in tools/libxc/, like we do > > for Xen's domain0 elf-parsing code. That would be cleaner and give more > > per-arch flexibility. > > btw: for the elf parser it is probably useful to switch around using > -Dsomething, so one can simply compile the elf loader twice. We'll need > something like that in case we'll support both 32bit + 64bit guests in a > 64bit hypervisor. With my domain builder rewrite it should be easy to > do that ;) I agree. As another example, ppc64 uses both 64-bit vmlinux and 32-bit zImage. -- Hollis Blanchard IBM Linux Technology Center