From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/openbios/include/arch/x86/elf.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roms/openbios/include/arch/x86/elf.h (limited to 'roms/openbios/include/arch/x86/elf.h') diff --git a/roms/openbios/include/arch/x86/elf.h b/roms/openbios/include/arch/x86/elf.h new file mode 100644 index 000000000..86c672508 --- /dev/null +++ b/roms/openbios/include/arch/x86/elf.h @@ -0,0 +1,5 @@ +#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; -- cgit 1.2.3-korg