2 * Copyright 2002-2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
9 #include <SupportDefs.h>
13 typedef uint32 Elf32_Addr
;
14 typedef uint32 Elf32_Off
;
15 typedef uint16 Elf32_Half
;
16 typedef int32 Elf32_Sword
;
17 typedef uint32 Elf32_Word
;
18 typedef uint32 Elf32_Xword
;
19 typedef int32 Elf32_Sxword
;
21 typedef uint64 Elf64_Addr
;
22 typedef uint64 Elf64_Off
;
23 typedef uint16 Elf64_Half
;
24 typedef int32 Elf64_Sword
;
25 typedef uint32 Elf64_Word
;
26 typedef uint64 Elf64_Xword
;
27 typedef int64 Elf64_Sxword
;
40 // e_ident EI_VERSION values
44 // e_ident EI_CLASS and EI_DATA values
45 #define ELFCLASSNONE 0
60 #define PT_LOPROC 0x70000000
61 #define PT_HIPROC 0x7fffffff
65 #define SHT_PROGBITS 1
76 #define SHT_LOPROC 0x70000000
77 #define SHT_HIPROC 0x7fffffff
78 #define SHT_LOUSER 0x80000000
79 #define SHT_HIUSER 0xffffffff