summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-04-03 15:39:58 +1000
committerChris Johns <chrisj@rtems.org>2016-04-03 15:39:58 +1000
commit8dc277265b414b7966563493a2ab159fcdfd49a3 (patch)
tree3c1a56eec87832cd032523d9f870ee4ccc9b6159
parentrtemstoolkit: Add an address table of symbols key by the symbol address. (diff)
downloadrtems-tools-8dc277265b414b7966563493a2ab159fcdfd49a3.tar.bz2
rtemstoolkit: Add the address to the section.
-rw-r--r--rtemstoolkit/rld-files.cpp1
-rw-r--r--rtemstoolkit/rld-files.h1
2 files changed, 2 insertions, 0 deletions
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.