summaryrefslogtreecommitdiffstats
path: root/target-ppc
diff options
context:
space:
mode:
authorths2006-12-23 15:18:40 +0100
committerths2006-12-23 15:18:40 +0100
commit9042c0e20de166542b603621fd30dc8be95dfd4d (patch)
tree84ea028032cb2c70fff393af4d94854eea585f3f /target-ppc
parentUse memory barriers in FORCE_RET / RETURN. (diff)
downloadqemu-9042c0e20de166542b603621fd30dc8be95dfd4d.tar.gz
qemu-9042c0e20de166542b603621fd30dc8be95dfd4d.tar.xz
qemu-9042c0e20de166542b603621fd30dc8be95dfd4d.zip
Check ELF binaries for machine type and endianness.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2274 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 88d91358e2..f05fb280be 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -32,6 +32,8 @@
#define TARGET_HAS_ICE 1
+#define ELF_MACHINE EM_PPC
+
/* XXX: this should be tunable: PowerPC 601 & 64 bits PowerPC
* have different cache line sizes
*/