diff options
author | Chris Johns <chrisj@rtems.org> | 2016-04-03 15:39:58 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-04-03 15:39:58 +1000 |
commit | 8dc277265b414b7966563493a2ab159fcdfd49a3 (patch) | |
tree | 3c1a56eec87832cd032523d9f870ee4ccc9b6159 | |
parent | 2e973519a4e71a6a41b3a11e4ea1d3b94476ebb3 (diff) |
rtemstoolkit: Add the address to the section.
-rw-r--r-- | rtemstoolkit/rld-files.cpp | 1 | ||||
-rw-r--r-- | rtemstoolkit/rld-files.h | 1 |
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. |