aboutsummaryrefslogtreecommitdiff
path: root/pk/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'pk/elf.h')
-rw-r--r--pk/elf.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/pk/elf.h b/pk/elf.h
index ea39078..f91a57f 100644
--- a/pk/elf.h
+++ b/pk/elf.h
@@ -1,7 +1,5 @@
// See LICENSE for license details.
-// See LICENSE for details.
-
#ifndef _ELF_H
#define _ELF_H
@@ -17,6 +15,13 @@
#define SHT_PROGBITS 1
#define SHT_NOBITS 8
+#define AT_NULL 0
+#define AT_PHDR 3
+#define AT_PHENT 4
+#define AT_PHNUM 5
+#define AT_PAGESZ 6
+#define AT_ENTRY 9
+
typedef struct {
uint8_t e_ident[16];
uint16_t e_type;