aboutsummaryrefslogtreecommitdiff
path: root/pk/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'pk/elf.h')
-rw-r--r--pk/elf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pk/elf.h b/pk/elf.h
index dfe6c63..a05ccf2 100644
--- a/pk/elf.h
+++ b/pk/elf.h
@@ -12,8 +12,10 @@
#define IS_ELF32(hdr) (IS_ELF(hdr) && (hdr).e_ident[4] == 1)
#define IS_ELF64(hdr) (IS_ELF(hdr) && (hdr).e_ident[4] == 2)
-#define SHT_PROGBITS 1
-#define SHT_NOBITS 8
+#define ET_EXEC 2
+#define ET_DYN 3
+
+#define PT_LOAD 1
#define AT_NULL 0
#define AT_PHDR 3