From: Mark Wielaard Date: Fri, 4 Sep 2020 23:17:06 +0000 (+0200) Subject: elflint: Handle .debug_line_str as .debug_str X-Git-Tag: elfutils-0.181~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=584768ff5e3a85c828ac1d36d8e98586768be9a1;p=thirdparty%2Felfutils.git elflint: Handle .debug_line_str as .debug_str The new DWARF5 .debug_line_str is identical to the .debug_str section. Signed-off-by: Mark Wielaard --- diff --git a/src/ChangeLog b/src/ChangeLog index 8eb2103d9..e37f35871 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2020-09-04 Mark Wielaard + + * elflint.c (special_sections): Add .debug_line_str. + 2020-08-26 Mark Wielaard * readelf.c (print_debug_line_section): It is not an error if there diff --git a/src/elflint.c b/src/elflint.c index 9cdccccae..ef3e37326 100644 --- a/src/elflint.c +++ b/src/elflint.c @@ -3631,6 +3631,7 @@ static const struct { ".data", 6, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE, 0 }, { ".data1", 7, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE, 0 }, { ".debug_str", 11, SHT_PROGBITS, exact_or_gnuld, SHF_MERGE | SHF_STRINGS, 0 }, + { ".debug_line_str", 16, SHT_PROGBITS, exact_or_gnuld, SHF_MERGE | SHF_STRINGS, 0 }, { ".debug", 6, SHT_PROGBITS, exact, 0, 0 }, { ".dynamic", 9, SHT_DYNAMIC, atleast, SHF_ALLOC, SHF_WRITE }, { ".dynstr", 8, SHT_STRTAB, exact, SHF_ALLOC, 0 },