aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-01 18:28:26 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-01 18:28:26 +0000
commit210c52ac91caa53272dd12ea1266d408593f055a (patch)
treec3b6188c956c592af76d4fc3914a3170a4e16fcb /ld/ldlang.c
parent6d40175db077d15dfc741391bd9ea6055c292b91 (diff)
downloadgdb-210c52ac91caa53272dd12ea1266d408593f055a.zip
gdb-210c52ac91caa53272dd12ea1266d408593f055a.tar.gz
gdb-210c52ac91caa53272dd12ea1266d408593f055a.tar.bz2
* 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.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index b4a3850..7b9fcd8 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -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;