]> git.proxmox.com Git - mirror_qemu.git/commit
mips: Remove ELF_MACHINE from cpu.h
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Mon, 11 May 2015 06:29:10 +0000 (23:29 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Sep 2015 10:04:44 +0000 (12:04 +0200)
commit04ce380e9e3fad1dbf4e86ebdf9315573a06b30e
tree647cf991079292a9a3011944cd1640e1c5a24cd9
parent77452383e0c45704e2339b58eac29a3730bc18b1
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>
hw/mips/mips_fulong2e.c
hw/mips/mips_malta.c
hw/mips/mips_mipssim.c
hw/mips/mips_r4k.c
target-mips/cpu.h