mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
or32: 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 bootloader can just pass EM_OPENRISC directly, as that is architecture specific code. This removes another architecture specific definition from the global namespace. Cc: Jia Liu <proljc@gmail.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>
This commit is contained in:
parent
22d2fb4c59
commit
ed03ecf8f0
2 changed files with 1 additions and 2 deletions
|
@ -21,7 +21,6 @@
|
|||
#define CPU_OPENRISC_H
|
||||
|
||||
#define TARGET_LONG_BITS 32
|
||||
#define ELF_MACHINE EM_OPENRISC
|
||||
|
||||
#define CPUArchState struct CPUOpenRISCState
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue