diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/elf.h | 4 | ||||
-rw-r--r-- | elf/link.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -56,6 +56,10 @@ typedef uint64_t Elf64_Off; typedef uint16_t Elf32_Section; typedef uint16_t Elf64_Section; +/* Type for version symbol information. */ +typedef Elf32_Half Elf32_Versym; +typedef Elf64_Half Elf64_Versym; + /* The ELF file header. This appears at the start of every ELF file. */ @@ -177,7 +177,7 @@ struct link_map ElfW(Addr) *l_reloc_result; /* Pointer to the version information if available. */ - ElfW(Half) *l_versyms; + ElfW(Versym) *l_versyms; /* String specifying the path where this object was found. */ const char *l_origin; |