diff options
author | Mark Wielaard <mjw@redhat.com> | 2013-11-27 16:45:44 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2013-11-27 16:45:44 +0100 |
commit | 819c349f6339512d6961a6172c539fdf2c2f1328 (patch) | |
tree | c7be311a37ac6ebae7d27b10f401d131d7d8be0d /libdw/libdw.map | |
parent | 16bc4569a9d4c86aac4de749ccf27fa7b1ae24d5 (diff) | |
download | elfutils-819c349f6339512d6961a6172c539fdf2c2f1328.tar.gz |
libdwfl: Add dwfl_module_addrsym_elf and dwfl_module_getsym_elf.
Introduce two new functions that also return the elf associated with a
symbol to make symbol section indexing work for non-special sections.
Simplify code by removing dwfl_file where appropriate and just track Elf
directly. Document limitations of shndx with existing dwfl_module_addrsym
and dwfl_module_getsym. Extend dwflsyms testcase to check some more symbol
and section (index) properties.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libdw/libdw.map')
-rw-r--r-- | libdw/libdw.map | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdw/libdw.map b/libdw/libdw.map index 060c3df8..0438e24c 100644 --- a/libdw/libdw.map +++ b/libdw/libdw.map @@ -283,4 +283,7 @@ ELFUTILS_0.158 { dwfl_getthreads; dwfl_thread_getframes; dwfl_frame_pc; + + dwfl_module_addrsym_elf; + dwfl_module_getsym_elf; } ELFUTILS_0.157; |