2 * Copyright 2002-2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
6 // No header guard: The file is included twice by <Elf.h> and must not be
7 // included elsewhere. The _ELFX_BITS macro must be define before inclusion.
13 # define ElfX(x) Elf32_##x
14 #elif _ELFX_BITS == 64
15 # define ElfX(x) Elf64_##x
21 unsigned char e_ident
[EI_NIDENT
];
30 ElfX(Half
) e_phentsize
;
32 ElfX(Half
) e_shentsize
;
34 ElfX(Half
) e_shstrndx
;
64 ElfX(Xword
) sh_addralign
;
65 ElfX(Xword
) sh_entsize
;