readelf: Add .debug_rnglists support.
authorMark Wielaard <mark@klomp.org>
Fri, 24 Nov 2017 10:16:06 +0000 (11:16 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 27 May 2018 12:28:07 +0000 (14:28 +0200)
commitbc1f86b0c4fd9d00f184e759be5dbab1a15be934
tree0903cfddc0ad86590b96fd1af8616dc9a6f5c659
parent059b6b1b612f04e1d8f447b080d2ecbd37fc011d
readelf: Add .debug_rnglists support.

Parse the .debug_rnglists section for DWARF5 --debug-dump=ranges.
Add testcase to show both "normal" and "split" DWARF variants are
handled for DWARF4 and DWARF5.

Signed-off-by: Mark Wielaard <mark@klomp.org>
12 files changed:
libdw/ChangeLog
libdw/dwarf.h
libdw/dwarf_begin_elf.c
libdw/dwarf_error.c
libdw/dwarf_formudata.c
libdw/dwarf_getscopes.c
libdw/libdwP.h
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/Makefile.am
tests/run-readelf-ranges.sh [new file with mode: 0755]