qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Make the ELF loader aware of backwards compati


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Make the ELF loader aware of backwards compatibility
Date: Sat, 28 Feb 2009 17:30:35 +0200

On 2/28/09, Alexander Graf <address@hidden> wrote:
> Most 64 bit architectures I'm aware of support running 32 bit code
>  of the same architecture as well.

For Sparc64 this is only true for userland, kernel level code is not
compatible at all. Sparc64 kernel can run Sparc64 and Sparc32
binaries, but a Sparc32 kernel will crash on Sparc64.

>   /* Load a 32 bit BIOS also on 64 bit machines */
>  -#if defined (TARGET_PPC64) && defined(CONFIG_USER_ONLY)
>  +#if defined (TARGET_PPC64)
>   #define ELF_MACHINE     EM_PPC64
>   #else
>   #define ELF_MACHINE     EM_PPC

The comment should be removed with the hack.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]