mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-24 13:15:40 +00:00
sparc: Remove ELF_MACHINE from cpu.h
The bootloaders can just pass EM_SPARC or EM_SPARCV9 directly, as they are architecture specific code (to one or the other). This removes another architecture specific definition from the global namespace. Backports commit 77452383e0c45704e2339b58eac29a3730bc18b1 from qemu
This commit is contained in:
parent
b848c7a51f
commit
23dc795806
|
@ -33,12 +33,6 @@
|
||||||
|
|
||||||
#define TARGET_HAS_ICE 1
|
#define TARGET_HAS_ICE 1
|
||||||
|
|
||||||
#if !defined(TARGET_SPARC64)
|
|
||||||
#define ELF_MACHINE EM_SPARC
|
|
||||||
#else
|
|
||||||
#define ELF_MACHINE EM_SPARCV9
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*#define EXCP_INTERRUPT 0x100*/
|
/*#define EXCP_INTERRUPT 0x100*/
|
||||||
|
|
||||||
/* trap definitions */
|
/* trap definitions */
|
||||||
|
|
Loading…
Reference in a new issue