From 37833b966576c5d25e797ea3b6c33d0459a71892 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 30 Aug 2022 16:01:20 +0100 Subject: BFD library: Use entry 0 in directory and filename tables of DWARF-5 debug info. PR 29529 * dwarf2.c (struct line_info_table): Add new field: use_dir_and_file_0. (concat_filename): Use new field to help select the correct table slot. (read_formatted_entries): Do not skip entry 0. (decode_line_info): Set new field depending upon the version of DWARF being parsed. Initialise filename based upon the setting of the new field. --- bfd/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 88643b8..f5a03c7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,15 @@ +2022-08-30 Nick Clifton + + PR 29529 + * dwarf2.c (struct line_info_table): Add new field: + use_dir_and_file_0. + (concat_filename): Use new field to help select the correct table + slot. + (read_formatted_entries): Do not skip entry 0. + (decode_line_info): Set new field depending upon the version of + DWARF being parsed. Initialise filename based upon the setting of + the new field. + 2022-08-22 Frederic Cambus * config.bfd (aarch64-*-openbsd*): Add target. -- cgit v1.1