historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/openbios/include/arch/amd64/elf.h

7 lines
227 B
C
Raw Normal View History

2024-01-16 11:20:27 -06:00
/* for now we're a 32bit architecture */
#define ARCH_ELF_CLASS ELFCLASS32
#define ARCH_ELF_DATA ELFDATA2LSB
#define ARCH_ELF_MACHINE_OK(x) ((x)==EM_386 || (x)==EM_486)
typedef Elf32_Ehdr Elf_ehdr;
typedef Elf32_Phdr Elf_phdr;