diff options
Diffstat (limited to 'qemu/roms/openbios/include/arch/amd64/elf.h')
-rw-r--r-- | qemu/roms/openbios/include/arch/amd64/elf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu/roms/openbios/include/arch/amd64/elf.h b/qemu/roms/openbios/include/arch/amd64/elf.h new file mode 100644 index 000000000..e391c62b6 --- /dev/null +++ b/qemu/roms/openbios/include/arch/amd64/elf.h @@ -0,0 +1,6 @@ +/* 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; |