mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 01:53:38 +08:00
Fix initiali state of DWARF v5 line number table in BFD library
PR 30783
This commit is contained in:
parent
c541d53765
commit
d1765f5db3
@ -2916,10 +2916,9 @@ decode_line_info (struct comp_unit *unit)
|
||||
|
||||
if (table->num_files)
|
||||
{
|
||||
if (table->use_dir_and_file_0)
|
||||
filename = concat_filename (table, 0);
|
||||
else
|
||||
filename = concat_filename (table, 1);
|
||||
/* PR 30783: Always start with a file index of 1, even
|
||||
for DWARF-5. */
|
||||
filename = concat_filename (table, 1);
|
||||
}
|
||||
|
||||
/* Decode the table. */
|
||||
|
@ -1,3 +1,3 @@
|
||||
#...
|
||||
.*pr27587/<artificial>:4:\(.*\): undefined reference to `stack_size'
|
||||
.*pr27587/pr27587.i:4:\(.*\): undefined reference to `stack_size'
|
||||
#...
|
||||
|
Loading…
Reference in New Issue
Block a user