mips: 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 bootloaders can just pass EM_MIPS directly, as that is
architecture specific code.

This removes another architecture specific definition from the global
namespace.

Backports commit 04ce380e9e3fad1dbf4e86ebdf9315573a06b30e from qemu
This commit is contained in:
Peter Crosthwaite 2018-02-16 00:22:30 -05:00 committed by Lioncash
parent 23dc795806
commit 95bcb2f144
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -6,8 +6,6 @@
#define ALIGNED_ONLY
#define TARGET_HAS_ICE 1
#define ELF_MACHINE EM_MIPS
#define CPUArchState struct CPUMIPSState
#include "config.h"