summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-05-10 23:29:10 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-25 12:04:44 +0200
commitbf337d4eae5ccf4d7f5d91b8d4471e7523f051de (patch)
tree174a8f094f070f393f4bc4ff6806f967012e9f4e
parent943cd387223df9398279a473ef20605c315ed2df (diff)
downloadfocaccia-qemu-bf337d4eae5ccf4d7f5d91b8d4471e7523f051de.tar.gz
focaccia-qemu-bf337d4eae5ccf4d7f5d91b8d4471e7523f051de.zip
sh4: Remove ELF_MACHINE from cpu.h
The only generic code relying on this is linux-user, but linux users'
default behaviour of defaulting ELF_MACHINE to ELF_ARCH will handle
this.

This removes another architecture specific definition from the global
namespace.

Cc: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Acked-By: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--target-sh4/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h
index 1f68b27a90..6fb63215ef 100644
--- a/target-sh4/cpu.h
+++ b/target-sh4/cpu.h
@@ -24,8 +24,6 @@
 
 #define TARGET_LONG_BITS 32
 
-#define ELF_MACHINE	EM_SH
-
 /* CPU Subtypes */
 #define SH_CPU_SH7750  (1 << 0)
 #define SH_CPU_SH7750S (1 << 1)