mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 17:06:55 +00:00
i386: Rename ELF_MACHINE to be x86 specific
Rename ELF_MACHINE to be I386 specific. This is used as-is by the multiboot loader. Linux-user previously used this definition but will not anymore, falling back to the default bahaviour of using ELF_ARCH as ELF_MACHINE. This removes another architecture specific definition from the global namespace. Backports commit a5e8788f89312f19f54dba0454ee5bf7209b4cd7 from qemu
This commit is contained in:
parent
95bcb2f144
commit
1faea35feb
|
@ -38,10 +38,10 @@
|
|||
#define TARGET_HAS_ICE 1
|
||||
|
||||
#ifdef TARGET_X86_64
|
||||
#define ELF_MACHINE EM_X86_64
|
||||
#define I386_ELF_MACHINE EM_X86_64
|
||||
#define ELF_MACHINE_UNAME "x86_64"
|
||||
#else
|
||||
#define ELF_MACHINE EM_386
|
||||
#define I386_ELF_MACHINE EM_386
|
||||
#define ELF_MACHINE_UNAME "i686"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue