diff options
| author | 2026-08-18 12:15:05 +0200 | |
|---|---|---|
| committer | 2026-08-18 12:15:05 +0200 | |
| commit | 132d3236bb884433bf94e961f6d32264e0334aec (patch) | |
| tree | 06638976b06f019ea4037175ff228f8271057c44 /misc-host/ELF/ELF-loader-test/datatypes.h | |
Diffstat (limited to '')
| -rw-r--r-- | misc-host/ELF/ELF-loader-test/datatypes.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/misc-host/ELF/ELF-loader-test/datatypes.h b/misc-host/ELF/ELF-loader-test/datatypes.h new file mode 100644 index 0000000..b50c3c8 --- /dev/null +++ b/misc-host/ELF/ELF-loader-test/datatypes.h @@ -0,0 +1,16 @@ +#ifndef DATATYPES_H +#define DATATYPES_H + +#include <stdint.h> + +// sizes as defined in the System V ABI +typedef uint16_t Elf64_Half; +typedef uint64_t Elf64_Off; +typedef uint64_t Elf64_Addr; +typedef int32_t Elf64_Word; +typedef uint64_t Elf64_Xword; + + + +#endif // DATATYPES_H + |
