From 45e6b8b61a7bbb71d1fa6c4193b47ba3a1f9f033 Mon Sep 17 00:00:00 2001 From: Peter Crosthwaite Date: Sun, 10 May 2015 23:29:10 -0700 Subject: m68k: 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. The machine model bootloaders can just pass EM_68K directly, as that is architecture specific code. This removes another architecture specific definition from the global namespace. Cc: Laurent Vivier Cc: Greg Ungerer Reviewed-by: Richard Henderson Acked-By: Riku Voipio Reviewed-by: Greg Ungerer Reviewed-by: Laurent Vivier Signed-off-by: Peter Crosthwaite Signed-off-by: Paolo Bonzini --- target-m68k/cpu.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'target-m68k') diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 43a9a1c612..d1957063b4 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -32,8 +32,6 @@ #define MAX_QREGS 32 -#define ELF_MACHINE EM_68K - #define EXCP_ACCESS 2 /* Access (MMU) error. */ #define EXCP_ADDRESS 3 /* Address error. */ #define EXCP_ILLEGAL 4 /* Illegal instruction. */ -- cgit v1.2.3