diff options
Diffstat (limited to 'pk/elf.h')
-rw-r--r-- | pk/elf.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |