diff options
Diffstat (limited to 'target-ppc/cpu.h')
-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 006f58d799..80ee76c73a 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 |