2016-02-18 19:26:44 +00:00
|
|
|
#define MKIMAGE_ELF32 1
|
|
|
|
|
|
|
|
# define SUFFIX(x) x ## 32
|
|
|
|
# define ELFCLASSXX ELFCLASS32
|
|
|
|
# define Elf_Ehdr Elf32_Ehdr
|
|
|
|
# define Elf_Phdr Elf32_Phdr
|
|
|
|
# define Elf_Nhdr Elf32_Nhdr
|
|
|
|
# define Elf_Addr Elf32_Addr
|
|
|
|
# define Elf_Sym Elf32_Sym
|
|
|
|
# define Elf_Off Elf32_Off
|
|
|
|
# define Elf_Shdr Elf32_Shdr
|
|
|
|
# define Elf_Rela Elf32_Rela
|
|
|
|
# define Elf_Rel Elf32_Rel
|
|
|
|
# define Elf_Word Elf32_Word
|
|
|
|
# define Elf_Half Elf32_Half
|
|
|
|
# define Elf_Section Elf32_Section
|
|
|
|
# define ELF_R_SYM(val) ELF32_R_SYM(val)
|
|
|
|
# define ELF_R_TYPE(val) ELF32_R_TYPE(val)
|
|
|
|
# define ELF_ST_TYPE(val) ELF32_ST_TYPE(val)
|
2018-12-07 12:11:46 +00:00
|
|
|
|
|
|
|
#define XEN_NOTE_SIZE 132
|
|
|
|
#define XEN_PVH_NOTE_SIZE 20
|
2016-02-18 19:26:44 +00:00
|
|
|
|
2018-02-21 20:20:24 +00:00
|
|
|
#ifndef GRUB_MKIMAGEXX
|
2016-02-18 19:26:44 +00:00
|
|
|
#include "grub-mkimagexx.c"
|
2018-02-21 20:20:24 +00:00
|
|
|
#endif
|