diff options
| author | Peter Crosthwaite | 2015-05-11 08:29:10 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2015-09-25 12:04:44 +0200 |
| commit | 04ce380e9e3fad1dbf4e86ebdf9315573a06b30e (patch) | |
| tree | 647cf991079292a9a3011944cd1640e1c5a24cd9 /target-mips | |
| parent | sparc: Remove ELF_MACHINE from cpu.h (diff) | |
| download | qemu-04ce380e9e3fad1dbf4e86ebdf9315573a06b30e.tar.gz qemu-04ce380e9e3fad1dbf4e86ebdf9315573a06b30e.tar.xz qemu-04ce380e9e3fad1dbf4e86ebdf9315573a06b30e.zip | |
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.
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Acked-By: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-mips')
| -rw-r--r-- | target-mips/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h index ed7d86d779..ec5f991dfb 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -5,8 +5,6 @@ #define ALIGNED_ONLY -#define ELF_MACHINE EM_MIPS - #define CPUArchState struct CPUMIPSState #include "config.h" |
