Commit ed26abdbc138db8fe845e5dfed4c2d8480c77a8f

Authored by j_mayer
1 parent 3d177870

Report missing elf_addr_t definition from Linux kernel header


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3346 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
... ... @@ -1130,6 +1130,7 @@ typedef struct elf64_note {
1130 1130 #define elf_note elf32_note
1131 1131 #define elf_shdr elf32_shdr
1132 1132 #define elf_sym elf32_sym
  1133 +#define elf_addr_t Elf32_Off
1133 1134  
1134 1135 #ifdef ELF_USES_RELOCA
1135 1136 # define ELF_RELOC Elf32_Rela
... ... @@ -1144,6 +1145,7 @@ typedef struct elf64_note {
1144 1145 #define elf_note elf64_note
1145 1146 #define elf_shdr elf64_shdr
1146 1147 #define elf_sym elf64_sym
  1148 +#define elf_addr_t Elf64_Off
1147 1149  
1148 1150 #ifdef ELF_USES_RELOCA
1149 1151 # define ELF_RELOC Elf64_Rela
... ...