]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Set entsize for .debug_line_str section.
authorCary Coutant <ccoutant@google.com>
Sat, 24 Jan 2015 00:34:27 +0000 (16:34 -0800)
committerCary Coutant <ccoutant@google.com>
Sat, 24 Jan 2015 00:35:06 +0000 (16:35 -0800)
2015-01-23  Cary Coutant  <ccoutant@google.com>

gas/
* dwarf2dbg.c (dwarf2_finish): Set entsize for .debug_line_str section.

gas/dwarf2dbg.c

index 21c53e3cd0915803749d4d4754ad2621119217aa..6c9b626deb06685757933ab6f877207e6d83d347 100644 (file)
@@ -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;