From 8dc277265b414b7966563493a2ab159fcdfd49a3 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sun, 3 Apr 2016 15:39:58 +1000 Subject: 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. -- cgit v1.2.3