summaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-07 16:07:25 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-07 16:07:25 +0000
commited26abdbc138db8fe845e5dfed4c2d8480c77a8f (patch)
tree46eb49f45a65625f40610c0a8492aa93613fdcbc /elf.h
parent3d177870554de21dad2479da786f4f6d7e26d529 (diff)
downloadqemu-ed26abdbc138db8fe845e5dfed4c2d8480c77a8f.tar.gz
qemu-ed26abdbc138db8fe845e5dfed4c2d8480c77a8f.tar.bz2
qemu-ed26abdbc138db8fe845e5dfed4c2d8480c77a8f.zip
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
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf.h b/elf.h
index 0c03f032a3..1bba0228bf 100644
--- a/elf.h
+++ b/elf.h
@@ -1130,6 +1130,7 @@ typedef struct elf64_note {
#define elf_note elf32_note
#define elf_shdr elf32_shdr
#define elf_sym elf32_sym
+#define elf_addr_t Elf32_Off
#ifdef ELF_USES_RELOCA
# define ELF_RELOC Elf32_Rela
@@ -1144,6 +1145,7 @@ typedef struct elf64_note {
#define elf_note elf64_note
#define elf_shdr elf64_shdr
#define elf_sym elf64_sym
+#define elf_addr_t Elf64_Off
#ifdef ELF_USES_RELOCA
# define ELF_RELOC Elf64_Rela