From: Peter Crosthwaite Date: Mon, 11 May 2015 06:29:10 +0000 (-0700) Subject: sh4: Remove ELF_MACHINE from cpu.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bf337d4eae5ccf4d7f5d91b8d4471e7523f051de;p=qemu.git 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 Acked-by: Aurelien Jarno Reviewed-by: Richard Henderson Acked-By: Riku Voipio Signed-off-by: Peter Crosthwaite Signed-off-by: Paolo Bonzini --- 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)