Re: [PATCH] libdw, readelf: Handle GCC LTO .gnu.debuglto_ prefix.

2020-04-21 Thread Mark Wielaard
On Fri, Apr 17, 2020 at 11:35:37AM +0200, Mark Wielaard wrote: > GCC puts (partial) DWARF debuginfo into sections prefixed with > .gnu.debuglto_. Handle those sections as if they are normal .debug > sections (which they are). This allows showing the DWARF that gcc > puts into ET_REL files compiled

[PATCH] libdw, readelf: Handle GCC LTO .gnu.debuglto_ prefix.

2020-04-17 Thread Mark Wielaard
GCC puts (partial) DWARF debuginfo into sections prefixed with .gnu.debuglto_. Handle those sections as if they are normal .debug sections (which they are). This allows showing the DWARF that gcc puts into ET_REL files compiled with -flto. Signed-off-by: Mark Wielaard --- libdw/ChangeLog