[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [patch] architecture-specific ELF header checking



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/<arch>, 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.