Commit 2f8d482e by Jim Blandy Committed by Jim Blandy

dwarf2out.c (dwarf2out_finish): Don't forget to emit a final entry with a type code of zero...

* dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
entry with a type code of zero, marking the end of the compilation
unit's macro info.

From-SVN: r53849
parent 95bfe95f
2002-05-24 Jim Blandy <jimb@redhat.com>
* dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
entry with a type code of zero, marking the end of the compilation
unit's macro info.
2002-05-24 Richard Henderson <rth@redhat.com> 2002-05-24 Richard Henderson <rth@redhat.com>
* varasm.c (asm_output_bss): Always output one byte. * varasm.c (asm_output_bss): Always output one byte.
......
...@@ -12312,6 +12312,7 @@ dwarf2out_finish (input_filename) ...@@ -12312,6 +12312,7 @@ dwarf2out_finish (input_filename)
{ {
named_section_flags (DEBUG_MACINFO_SECTION, SECTION_DEBUG); named_section_flags (DEBUG_MACINFO_SECTION, SECTION_DEBUG);
dw2_asm_output_data (1, DW_MACINFO_end_file, "End file"); dw2_asm_output_data (1, DW_MACINFO_end_file, "End file");
dw2_asm_output_data (1, 0, "End compilation unit");
} }
/* If we emitted any DW_FORM_strp form attribute, output the string /* If we emitted any DW_FORM_strp form attribute, output the string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment