summaryrefslogtreecommitdiffstats
path: root/target-moxie
diff options
context:
space:
mode:
authorPeter Crosthwaite2015-05-11 08:29:10 +0200
committerPaolo Bonzini2015-09-25 12:04:43 +0200
commitb744d332f3ef17adc1219be7098b0a4cc30b2dbe (patch)
tree67d9d84dab4461a8b6878d79f2d3f896b30bb8c3 /target-moxie
parentcris: Remove ELF_MACHINE from cpu.h (diff)
downloadqemu-b744d332f3ef17adc1219be7098b0a4cc30b2dbe.tar.gz
qemu-b744d332f3ef17adc1219be7098b0a4cc30b2dbe.tar.xz
qemu-b744d332f3ef17adc1219be7098b0a4cc30b2dbe.zip
moxie: Remove ELF_MACHINE from cpu.h
The bootloader can just pass EM_MOXIE directly, as that is architecture specific code. This removes another architecture specific definition from the global namespace. Cc: Anthony Green <green@moxielogic.com> 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-moxie')
-rw-r--r--target-moxie/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-moxie/cpu.h b/target-moxie/cpu.h
index 7d47e0d956..2bac15bf60 100644
--- a/target-moxie/cpu.h
+++ b/target-moxie/cpu.h
@@ -26,8 +26,6 @@
#define CPUArchState struct CPUMoxieState
-#define ELF_MACHINE EM_MOXIE
-
#define MOXIE_EX_DIV0 0
#define MOXIE_EX_BAD 1
#define MOXIE_EX_IRQ 2