aboutsummaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-29 20:40:07 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-29 20:40:07 +0000
commit689f936f7ea68c0539f73246d582e5c85ae50f12 (patch)
tree236f92dbce80e7f51abe72ab1e0c374247adc631 /elf.h
parent6977fbfd8bff90f4dbe4e79c2f77921ce0ba34ff (diff)
downloadqemu-689f936f7ea68c0539f73246d582e5c85ae50f12.zip
qemu-689f936f7ea68c0539f73246d582e5c85ae50f12.tar.gz
qemu-689f936f7ea68c0539f73246d582e5c85ae50f12.tar.bz2
symbol fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@103 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/elf.h b/elf.h
index d87526a..fcd3fec 100644
--- a/elf.h
+++ b/elf.h
@@ -1,5 +1,5 @@
-#ifndef _ELF_H
-#define _ELF_H
+#ifndef _QEMU_ELF_H
+#define _QEMU_ELF_H
#include <inttypes.h>
@@ -996,6 +996,7 @@ typedef struct elf64_note {
#define elf_phdr elf32_phdr
#define elf_note elf32_note
#define elf_shdr elf32_shdr
+#define elf_sym elf32_sym
#ifdef ELF_USES_RELOCA
# define ELF_RELOC Elf32_Rela
@@ -1009,6 +1010,7 @@ typedef struct elf64_note {
#define elf_phdr elf64_phdr
#define elf_note elf64_note
#define elf_shdr elf64_shdr
+#define elf_sym elf64_sym
#ifdef ELF_USES_RELOCA
# define ELF_RELOC Elf64_Rela
@@ -1029,4 +1031,4 @@ typedef struct elf64_note {
#endif
-#endif /* _ELF_H */
+#endif /* _QEMU_ELF_H */