libdw, readelf: Handle .debug_*.dwo section name variants.
authorMark Wielaard <mark@klomp.org>
Sat, 12 May 2018 22:05:10 +0000 (00:05 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 19 May 2018 10:37:24 +0000 (12:37 +0200)
commita7bcf4322f5e23a638c3b5b6f3cf62855865cc4a
treebce3f42915f51b67d1021af2d8e19a9738083d40
parent5e1a9f18aadf4804323ad470e33ddcd17650bc38
libdw, readelf: Handle .debug_*.dwo section name variants.

The .debug_*.dwo section names are handled just like their none .dwo
variants.  The section contents is the same as sections without the .dwo
name, but they are only found in split-dwarf files.  This patch allows
opening and inspecting split-dwarf files.  It doesn't yet connect the
split-dwarf with their skeleton (or the other way around).  It also
doesn't yet handle any special split-dwarf attributes or tags.

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