summaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2011-08-17 20:23:36 -0400
committerFrans Kaashoek <[email protected]>2011-08-17 20:23:36 -0400
commitfa81545f1c15630573dc1d312fa75f261f82b9f1 (patch)
tree0c70c6825e7b165329e84e790d127bfccbc80c8a /elf.h
parent5f069dcf2f9d833a6c4f58ed87269d61c6abb687 (diff)
downloadxv6-labs-fa81545f1c15630573dc1d312fa75f261f82b9f1.tar.gz
xv6-labs-fa81545f1c15630573dc1d312fa75f261f82b9f1.tar.bz2
xv6-labs-fa81545f1c15630573dc1d312fa75f261f82b9f1.zip
Make elf proghdr fields match what objdump prints
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf.h b/elf.h
index 17f8321..d16c967 100644
--- a/elf.h
+++ b/elf.h
@@ -24,9 +24,9 @@ struct elfhdr {
// Program section header
struct proghdr {
uint type;
- uint offset;
- uint va;
- uint pa;
+ uint off;
+ uint vaddr;
+ uint paddr;
uint filesz;
uint memsz;
uint flags;