diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-13 11:09:41 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-13 12:43:42 +0930 |
commit | 1f1f5b92e811e9c7485129c065a9ff2c409303a4 (patch) | |
tree | 4e74326d61d5579cc6e04e4c614bb48f83b015bd /compile | |
parent | ec6c8338a89b0ec022b66ed3efdd1577e6449d6d (diff) | |
download | gdb-1f1f5b92e811e9c7485129c065a9ff2c409303a4.zip gdb-1f1f5b92e811e9c7485129c065a9ff2c409303a4.tar.gz gdb-1f1f5b92e811e9c7485129c065a9ff2c409303a4.tar.bz2 |
Always add input_statement to statement_list
I think this is safer than leaving an input_statement added during
open_input_bfds off the list. There are a number of places that
fiddle with various lists and might be confused by an off-list
statement, eg. orphan handling.
* ldlang.c (new_afile): Remove add_to_list parameter.
(lang_add_input_file): Update new_afile calls.
(lookup_name): Splice input_statement added by new_afile into
statement_list after current input_file_chain entry.
(lang_process): Update comment.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions