summaryrefslogtreecommitdiff
path: root/libdw/libdw.map
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2013-11-27 16:45:44 +0100
committerMark Wielaard <mjw@redhat.com>2013-11-27 16:45:44 +0100
commit819c349f6339512d6961a6172c539fdf2c2f1328 (patch)
treec7be311a37ac6ebae7d27b10f401d131d7d8be0d /libdw/libdw.map
parent16bc4569a9d4c86aac4de749ccf27fa7b1ae24d5 (diff)
downloadelfutils-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.map3
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;