Commit ed26abdbc138db8fe845e5dfed4c2d8480c77a8f
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
elf.h
@@ -1130,6 +1130,7 @@ typedef struct elf64_note { | @@ -1130,6 +1130,7 @@ typedef struct elf64_note { | ||
1130 | #define elf_note elf32_note | 1130 | #define elf_note elf32_note |
1131 | #define elf_shdr elf32_shdr | 1131 | #define elf_shdr elf32_shdr |
1132 | #define elf_sym elf32_sym | 1132 | #define elf_sym elf32_sym |
1133 | +#define elf_addr_t Elf32_Off | ||
1133 | 1134 | ||
1134 | #ifdef ELF_USES_RELOCA | 1135 | #ifdef ELF_USES_RELOCA |
1135 | # define ELF_RELOC Elf32_Rela | 1136 | # define ELF_RELOC Elf32_Rela |
@@ -1144,6 +1145,7 @@ typedef struct elf64_note { | @@ -1144,6 +1145,7 @@ typedef struct elf64_note { | ||
1144 | #define elf_note elf64_note | 1145 | #define elf_note elf64_note |
1145 | #define elf_shdr elf64_shdr | 1146 | #define elf_shdr elf64_shdr |
1146 | #define elf_sym elf64_sym | 1147 | #define elf_sym elf64_sym |
1148 | +#define elf_addr_t Elf64_Off | ||
1147 | 1149 | ||
1148 | #ifdef ELF_USES_RELOCA | 1150 | #ifdef ELF_USES_RELOCA |
1149 | # define ELF_RELOC Elf64_Rela | 1151 | # define ELF_RELOC Elf64_Rela |