diff options
author | Nick Clifton <nickc@redhat.com> | 2020-04-27 11:35:25 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-04-27 11:35:25 +0100 |
commit | 714e6c969ff1ce0fdb0cd3703d41ef2fef424535 (patch) | |
tree | 993fe5d1a3ddcbb402591428cc30542028b4ee56 /gdb | |
parent | 25e29062d2c5f1488963ec9997e01886122354f6 (diff) | |
download | binutils-gdb-714e6c969ff1ce0fdb0cd3703d41ef2fef424535.tar.gz |
GAS: Allow automatically assigned entries in the file table to be reassigned if the source file specifically requests to use the assigned slot.
PR 25878
* dwarf2dbg.c (struct file_entry): Add auto_assigned field.
(assign_file_to_slot): New function. Fills in an entry in the
files table.
(allocate_filenum): Use new function.
(allocate_filename_to_slot): Use new function. If the specified
slot entry is already in use, but was chosen automatically then
reassign the automatic entry.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions