diff options
author | Nick Clifton <nickc@redhat.com> | 2022-08-30 16:01:20 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-08-30 16:01:20 +0100 |
commit | 37833b966576c5d25e797ea3b6c33d0459a71892 (patch) | |
tree | 950457c7d8e2c43f6c45823e2430d4602bb3f98c /ld | |
parent | f79688953fb09dbe5c0ecf33a8db15054d49fb8d (diff) | |
download | gdb-37833b966576c5d25e797ea3b6c33d0459a71892.zip gdb-37833b966576c5d25e797ea3b6c33d0459a71892.tar.gz gdb-37833b966576c5d25e797ea3b6c33d0459a71892.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/pr27587.err | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index f4fa772..15cf800 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2022-08-30 Nick Clifton <nickc@redhat.com> + + PR 29529 + * testsuite/ld-x86-64/pr27587.err: Update expected output. + 2022-08-18 Ralf Habacker <ralf.habacker@freenet.de> PR 28362 diff --git a/ld/testsuite/ld-x86-64/pr27587.err b/ld/testsuite/ld-x86-64/pr27587.err index fa87079..807750c 100644 --- a/ld/testsuite/ld-x86-64/pr27587.err +++ b/ld/testsuite/ld-x86-64/pr27587.err @@ -1,3 +1,3 @@ #... -.*pr27587.i:4: undefined reference to `stack_size' +.*pr27587/<artificial>:4: undefined reference to `stack_size' #... |