From: Cary Coutant Date: Sat, 24 Jan 2015 00:34:27 +0000 (-0800) Subject: Set entsize for .debug_line_str section. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e82144ec9335a17b0bac8b008e6f48b433bc8d63;p=thirdparty%2Fbinutils-gdb.git Set entsize for .debug_line_str section. 2015-01-23 Cary Coutant gas/ * dwarf2dbg.c (dwarf2_finish): Set entsize for .debug_line_str section. --- diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 21c53e3cd09..6c9b626deb0 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -2503,6 +2503,7 @@ dwarf2_finish (void) bfd_set_section_flags (stdoutput, str_seg, (SEC_READONLY | SEC_DEBUGGING | SEC_MERGE | SEC_STRINGS)); + str_seg->entsize = 1; debug_line_str_table.strings = NULL; debug_line_str_table.strings_in_use = 0; debug_line_str_table.strings_allocated = 0;