summaryrefslogtreecommitdiff
path: root/elfutils/libdwfl/dwfl_module_getdwarf.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-10-05 17:36:43 +0000
committerDmitry V. Levin <ldv@altlinux.org>2009-10-05 17:36:43 +0000
commitfcaf740c16004e36e5bdb7152ae49d25805d9dea (patch)
tree82367c77356c38df5ed8fb6f51bcd66e9f3bbd30 /elfutils/libdwfl/dwfl_module_getdwarf.c
parent5a4cef9b6c2899944308fdb8f78559fc0df766cc (diff)
downloadelfutils-0.143-1.tar.gz
0.143-10.143-1
- Update to 0.143 - libdw: Various convenience functions for individual attributes now use dwarf_attr_integrate to look up indirect inherited attributes. Location expression handling now supports DW_OP_implicit_value. - libdwfl: Support automatic decompression of files in XZ format, and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
Diffstat (limited to 'elfutils/libdwfl/dwfl_module_getdwarf.c')
-rw-r--r--elfutils/libdwfl/dwfl_module_getdwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elfutils/libdwfl/dwfl_module_getdwarf.c b/elfutils/libdwfl/dwfl_module_getdwarf.c
index 06cb4917..f48fabe7 100644
--- a/elfutils/libdwfl/dwfl_module_getdwarf.c
+++ b/elfutils/libdwfl/dwfl_module_getdwarf.c
@@ -148,7 +148,7 @@ static const char *
find_debuglink (Elf *elf, GElf_Word *crc)
{
size_t shstrndx;
- if (elf_getshstrndx (elf, &shstrndx) < 0)
+ if (elf_getshdrstrndx (elf, &shstrndx) < 0)
return NULL;
Elf_Scn *scn = NULL;