diff --git a/gas/ChangeLog b/gas/ChangeLog index dc97038a98..1fb85e7401 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-02-01 Momchil Velikov + + * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations + for the compilation unit with a zero byte. + 2001-01-30 Alan Modra * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index c24d85ab4e..0068f7a620 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -1099,6 +1099,9 @@ out_debug_abbrev (abbrev_seg) out_abbrev (DW_AT_producer, DW_FORM_string); out_abbrev (DW_AT_language, DW_FORM_data2); out_abbrev (0, 0); + + /* Terminate the abbreviations for this compilation unit. */ + out_byte (0); } /* Emit a description of this compilation unit for .debug_info. */