[rtems-tools commit] rtemstoolkit: Add the address to the section.
Chris Johns
chrisj at rtems.org
Sun Apr 3 05:44:02 UTC 2016
Module: rtems-tools
Branch: master
Commit: 8dc277265b414b7966563493a2ab159fcdfd49a3
Changeset: http://git.rtems.org/rtems-tools/commit/?id=8dc277265b414b7966563493a2ab159fcdfd49a3
Author: Chris Johns <chrisj at rtems.org>
Date: Sun Apr 3 15:39:58 2016 +1000
rtemstoolkit: Add the address to the section.
---
rtemstoolkit/rld-files.cpp | 1 +
rtemstoolkit/rld-files.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/rtemstoolkit/rld-files.cpp b/rtemstoolkit/rld-files.cpp
index 5bc266c..1a236fd 100644
--- a/rtemstoolkit/rld-files.cpp
+++ b/rtemstoolkit/rld-files.cpp
@@ -842,6 +842,7 @@ namespace rld
info (es.info ()),
flags (es.flags ()),
offset (es.offset ()),
+ address (es.address ()),
rela (es.get_reloc_type ())
{
}
diff --git a/rtemstoolkit/rld-files.h b/rtemstoolkit/rld-files.h
index 0c98cf1..b8cc359 100644
--- a/rtemstoolkit/rld-files.h
+++ b/rtemstoolkit/rld-files.h
@@ -582,6 +582,7 @@ namespace rld
const uint32_t info; //< The ELF info field.
const uint32_t flags; //< The ELF flags.
const off_t offset; //< The ELF file offset.
+ const uint64_t address; //< The ELF address.
bool rela; //< Relocation records have the addend field.
relocations relocs; //< The sections relocations.
More information about the vc
mailing list