readelf: Handle .debug_loclists.
authorMark Wielaard <mark@klomp.org>
Fri, 24 Nov 2017 18:29:57 +0000 (19:29 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 29 May 2018 10:18:43 +0000 (12:18 +0200)
commit7cfe2c16f9ddaa7478a2d97dd893c6b89080020a
treed3ceaf787ee03c7cb5f22728b1ddd92bca56fdb2
parent263dbe8ca17f66baa184f489530eb92afa15adfe
readelf: Handle .debug_loclists.

The new DWARF5 .debug_loclists sections are like .debug_rnglists, but
plus locations. For Split Dwarf GCC generates the .debug_loclists fully
in the split .dwo file. Any references to addresses need to be resolved
through the skeleton .debug_addr section.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/dwarf.h
libdw/dwarf_begin_elf.c
libdw/dwarf_error.c
libdw/dwarf_formudata.c
libdw/dwarf_getlocation.c
libdw/libdwP.h
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/run-readelf-loc.sh