diff options
author | Chris Johns <chrisj@rtems.org> | 2012-12-18 20:52:18 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-12-18 20:52:18 +1100 |
commit | 07c8f5fd4ef93a1b0860e044369398535cbc752c (patch) | |
tree | 591b859c3e312d3cde59adb09502a143ccdadd6e /rld-files.h | |
parent | 07e1f228ea5f1dd88642be943d78465b2e8c0558 (diff) |
Add object::get_section.
Add a method to return a section given the ELF section index.
Add more trace output for debugging.
Diffstat (limited to 'rld-files.h')
-rw-r--r-- | rld-files.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rld-files.h b/rld-files.h index 36dcc9b..f579626 100644 --- a/rld-files.h +++ b/rld-files.h @@ -734,6 +734,13 @@ namespace rld */ void get_sections (sections& filtered_secs, const std::string& name); + /** + * Get a section given an index number. + * + * @param index The section index to search for. + */ + const section& get_section (int index) const; + private: archive* archive_; //< Points to the archive if part of an // archive. |