* ldlang.c (new_afile): Add new argument add_to_list. Don't set
authorIan Lance Taylor <ian@airs.com>
Thu, 24 Mar 1994 20:25:12 +0000 (20:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 24 Mar 1994 20:25:12 +0000 (20:25 +0000)
commit193c5f93a17206ea7e83b7ae476e1a997e1ff108
tree0395384ef09312bf9141608616ffab468bfc3ed8
parent47e70c54174be52f55eb38fe8630af68ef9c2b42
* ldlang.c (new_afile): Add new argument add_to_list.  Don't set
real to true for lang_input_file_is_marker_enum.  Clear the_bfd.
(lang_add_input_file): Pass true to new_afile for add_to_list.
(lookup_name): Remove force_load argument.  Changed all callers.
Pass false to new_afile for add_to_list.  Split loading of symbols
out into separate function.
(load_symbols): New function split out of lookup_name.  Don't load
the symbols if they are already loaded.
(open_input_bfds): For lang_input_statement_enum call load_symbols
rather than lookup_name.
(lang_process): Pass abs_output_section rather than NULL to
lang_size_sections.
(lang_startup): Set real field of first_file to true.
ld/ChangeLog
ld/ldlang.c