[PATCH] libebl: Add new DWARF5 debug section names to default_debugscn_p.

2018-04-25 Thread Mark Wielaard
This adds the new DWARF5 debug section names .debug_addr, .debug_line_str, .debug_loclists, .debug_names, .debug_rnglists and .debug_str_offsets. This makes sure eu-strip knows to strip them away. Note that it doesn't add the .dwo variants, nor the .dwp only section names .debug_cu_index and .debu

[PATCH] readelf: Handle .debug_line_str section.

2018-04-25 Thread Mark Wielaard
It is just a .debug_str section with another name. Signed-off-by: Mark Wielaard --- src/ChangeLog | 7 +++ src/readelf.c | 21 + 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7764482..4b55bbc 100644 --- a/src/ChangeLo

[PATCH] libdw: Handle DW_FORM_line_strp.

2018-04-25 Thread Mark Wielaard
DW_FORM_line_strp strings come from a separate .debug_line_str section. Make error messages more distinct (no .debug_str, no .debug_line_str or not a string form). Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 10 ++ libdw/dwarf_begin_elf.c | 1 + libdw/dwarf_error.c