ppc: Rename ELF_MACHINE to be PPC specific
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)
commit4ecd4d16a0af714ff7d9a1ad2559c621bf27649f
treecb58fe387998d2cf17547307a720d07b012e28a2
parenta5e8788f89312f19f54dba0454ee5bf7209b4cd7
ppc: Rename ELF_MACHINE to be PPC specific

Rename ELF_MACHINE to be PPC specific. This is used as-is by the
various PPC bootloaders and is locally defined to ELF_MACHINE in linux
user in PPC specific ifdeffery.

This removes another architecture specific definition from the global
namespace (as desired by multi-arch).

Cc: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc@nongnu.org
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/ppc/e500.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/ppc440_bamboo.c
hw/ppc/prep.c
hw/ppc/spapr.c
hw/ppc/virtex_ml507.c
linux-user/elfload.c
target-ppc/cpu.h