From 663c40a50d06c8c299cc7449bf2c7b8f3261c8a9 Mon Sep 17 00:00:00 2001 From: Peter Crosthwaite Date: Sun, 10 May 2015 23:29:10 -0700 Subject: [PATCH] unicore: 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: Guan Xuetao Reviewed-by: Richard Henderson Acked-By: Riku Voipio Signed-off-by: Peter Crosthwaite Signed-off-by: Paolo Bonzini --- target-unicore32/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index 121e5283d7..01c370c30d 100644 --- a/target-unicore32/cpu.h +++ b/target-unicore32/cpu.h @@ -17,8 +17,6 @@ #define TARGET_PHYS_ADDR_SPACE_BITS 32 #define TARGET_VIRT_ADDR_SPACE_BITS 32 -#define ELF_MACHINE EM_UNICORE32 - #define CPUArchState struct CPUUniCore32State #include "config.h"