summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/elfcopy/elfcopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/elftoolchain/elfcopy/elfcopy.h')
-rw-r--r--contrib/elftoolchain/elfcopy/elfcopy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/elftoolchain/elfcopy/elfcopy.h b/contrib/elftoolchain/elfcopy/elfcopy.h
index 614c0e7..f88aaf4 100644
--- a/contrib/elftoolchain/elfcopy/elfcopy.h
+++ b/contrib/elftoolchain/elfcopy/elfcopy.h
@@ -139,7 +139,8 @@ struct section {
/* Internal data structure for segments. */
struct segment {
- uint64_t addr; /* load addr */
+ uint64_t vaddr; /* virtual addr (VMA) */
+ uint64_t paddr; /* physical addr (LMA) */
uint64_t off; /* file offset */
uint64_t fsz; /* file size */
uint64_t msz; /* memory size */
OpenPOWER on IntegriCloud