addr2line: Use elf_getshdrstrndx not Ehdr field to print section name.
authorMark Wielaard <mark@klomp.org>
Wed, 24 Oct 2018 14:15:04 +0000 (16:15 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 24 Oct 2018 14:15:52 +0000 (16:15 +0200)
commitb75ff1bbd060404565fa28d72441a9b02f331bae
tree8fa89867a88f5125e37d115f92e2909147e43f65
parent35197ea4c43ef2101b06e03ef6b3c6778bd986bc
addr2line: Use elf_getshdrstrndx not Ehdr field to print section name.

Using the Ehdr field directly doesn't work when there are a large number
of sections.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/addr2line.c