summaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/elf.h b/elf.h
index d16c967..84555fa 100644
--- a/elf.h
+++ b/elf.h
@@ -9,9 +9,9 @@ struct elfhdr {
ushort type;
ushort machine;
uint version;
- uint entry;
- uint phoff;
- uint shoff;
+ uint64 entry;
+ uint64 phoff;
+ uint64 shoff;
uint flags;
ushort ehsize;
ushort phentsize;
@@ -23,14 +23,14 @@ struct elfhdr {
// Program section header
struct proghdr {
- uint type;
- uint off;
- uint vaddr;
- uint paddr;
- uint filesz;
- uint memsz;
- uint flags;
- uint align;
+ uint32 type;
+ uint32 flags;
+ uint64 off;
+ uint64 vaddr;
+ uint64 paddr;
+ uint64 filesz;
+ uint64 memsz;
+ uint64 align;
};
// Values for Proghdr type