From 132d3236bb884433bf94e961f6d32264e0334aec Mon Sep 17 00:00:00 2001 From: ornitorrincos Date: Tue, 18 Aug 2026 12:15:05 +0200 Subject: --- misc-host/ELF/ELF-loader-test/datatypes.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 misc-host/ELF/ELF-loader-test/datatypes.h (limited to 'misc-host/ELF/ELF-loader-test/datatypes.h') 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 + +// 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 + -- cgit v1.2.3-70-g09d2