From a987bfc987248990aeee2ede0bcd005732b948c4 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 1 Feb 2001 18:08:47 +0000 Subject: [PATCH] * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations for the compilation unit with a zero byte. --- gas/ChangeLog | 5 +++++ gas/dwarf2dbg.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index dc97038a98a..1fb85e74017 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 c24d85ab4ee..0068f7a620b 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. */ -- 2.30.2