From 23dc7958069d7a3d731f15254838ce3556803b8c Mon Sep 17 00:00:00 2001 From: Peter Crosthwaite Date: Fri, 16 Feb 2018 00:21:37 -0500 Subject: [PATCH] sparc: Remove ELF_MACHINE from cpu.h The bootloaders can just pass EM_SPARC or EM_SPARCV9 directly, as they are architecture specific code (to one or the other). This removes another architecture specific definition from the global namespace. Backports commit 77452383e0c45704e2339b58eac29a3730bc18b1 from qemu --- qemu/target-sparc/cpu.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qemu/target-sparc/cpu.h b/qemu/target-sparc/cpu.h index 022ad72c..4f1021d5 100644 --- a/qemu/target-sparc/cpu.h +++ b/qemu/target-sparc/cpu.h @@ -33,12 +33,6 @@ #define TARGET_HAS_ICE 1 -#if !defined(TARGET_SPARC64) -#define ELF_MACHINE EM_SPARC -#else -#define ELF_MACHINE EM_SPARCV9 -#endif - /*#define EXCP_INTERRUPT 0x100*/ /* trap definitions */