summaryrefslogtreecommitdiffhomepage
path: root/elf.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-03-28 11:05:54 +0100
committerRoland Reichwein <mail@reichwein.it>2020-03-28 11:05:54 +0100
commit7fdcbd50a35c17e8ea7d88fbcaa3080ee44351b3 (patch)
treec105e7b01c5e1a3c467a5c4de134bf716e19b0b9 /elf.h
parent02d391df5cb7a9cefcd6fec62c4392a8557b5dc8 (diff)
Prepare ELF file format implementation
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/elf.h b/elf.h
new file mode 100644
index 0000000..0b47fb6
--- /dev/null
+++ b/elf.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#pragma pack(push, 1)
+
+namespace Elf {
+
+// ELF 64 bit only
+
+struct FileHeader
+{
+};
+
+struct ProgramHeader
+{
+};
+
+struct SectionHeader
+{
+};
+
+}
+#pragma pack(pop)