aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>2002-05-24 19:16:56 +0000
committerJim Blandy <jimb@gcc.gnu.org>2002-05-24 19:16:56 +0000
commit2f8d482ecd2d884e9b27d74bae92457147bf8ce1 (patch)
tree962b31a5a399e6b625c2732a1f08264dfc3a6a24 /gcc
parent95bfe95f0189833a40e0fb435cf8b9993b26f7cd (diff)
downloadgcc-2f8d482ecd2d884e9b27d74bae92457147bf8ce1.zip
gcc-2f8d482ecd2d884e9b27d74bae92457147bf8ce1.tar.gz
gcc-2f8d482ecd2d884e9b27d74bae92457147bf8ce1.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/dwarf2out.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 35e91c4..29027a1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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>
* varasm.c (asm_output_bss): Always output one byte.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 31daf42..f6ef2fa 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -12312,6 +12312,7 @@ dwarf2out_finish (input_filename)
{
named_section_flags (DEBUG_MACINFO_SECTION, SECTION_DEBUG);
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