mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 01:45:51 +08:00
* ldlang.h (lang_input_statement_type): Remove fields subfiles,
total_size, superfile and chain. * ldfile.c (open_a): Don't clear search_dirs_flag. (ldfile_open_file): Don't try to open superfile. Assert that file has not already been opened. * ldlang.c (new_afile): Don't initialize superfile. * ldmain.c (add_archive_element): Don't initialize subfiles or chain or superfile. Initialize search_dirs_flag to false.
This commit is contained in:
@ -372,7 +372,6 @@ new_afile (name, file_type, target, add_to_list)
|
||||
}
|
||||
p->the_bfd = (bfd *) NULL;
|
||||
p->asymbols = (asymbol **) NULL;
|
||||
p->superfile = (lang_input_statement_type *) NULL;
|
||||
p->next_real_file = (lang_statement_union_type *) NULL;
|
||||
p->next = (lang_statement_union_type *) NULL;
|
||||
p->symbol_count = 0;
|
||||
|
Reference in New Issue
Block a user