diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-08 12:50:56 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-08 12:50:56 +0000 |
commit | 3a616592a18931f814c00f773194ef5819919895 (patch) | |
tree | 5865ff560647f4d2cb391f2786b440cb2a4f1602 /target-ppc | |
parent | b98a003c196bab74c881440a42d349b98625e134 (diff) | |
download | qemu-3a616592a18931f814c00f773194ef5819919895.zip qemu-3a616592a18931f814c00f773194ef5819919895.tar.gz qemu-3a616592a18931f814c00f773194ef5819919895.tar.bz2 |
Load 32 bit ELF BIOS images also on PPC64
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6554 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 006f58d..80ee76c 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -66,7 +66,8 @@ #define TARGET_HAS_ICE 1 -#if defined (TARGET_PPC64) +/* Load a 32 bit BIOS also on 64 bit machines */ +#if defined (TARGET_PPC64) && defined(CONFIG_USER_ONLY) #define ELF_MACHINE EM_PPC64 #else #define ELF_MACHINE EM_PPC |