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
This commit is contained in:
Peter Crosthwaite 2018-02-16 00:21:37 -05:00 committed by Lioncash
parent b848c7a51f
commit 23dc795806
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -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 */