aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-17 03:12:50 +0000
committerAlan Modra <amodra@gmail.com>2008-08-17 03:12:50 +0000
commit5c1d2f5f4c7747c36eae8be3abd4ef4e9669690c (patch)
tree3be4145ee7086fe0315ad0ce506626b5ca560759 /ld/ldlang.h
parent1f5064de53c27d99fb92efd65a6785e2f1ec0835 (diff)
downloadgdb-5c1d2f5f4c7747c36eae8be3abd4ef4e9669690c.zip
gdb-5c1d2f5f4c7747c36eae8be3abd4ef4e9669690c.tar.gz
gdb-5c1d2f5f4c7747c36eae8be3abd4ef4e9669690c.tar.bz2
bfd/
* bfd.c (struct _bfd): Correct outsymbols comment. * bfd-in2.h: Regenerate. * linker.c (bfd_generic_link_read_symbols): Renamed from.. (generic_link_read_symbols): ..this, and made global. include/ * bfdlink.h (bfd_generic_link_read_symbols): Declare. ld/ PR 6478 * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols. Don't free symbol pointer array. (check_refs): Likewise. * ldmain.c (warning_callback): Likewise. * ldmisc.c (vfinfo): Likewise. * pe-dll.c (process_def_file): Likewise. (pe_walk_relocs_of_symbol, generate_reloc): Likewise. * emultempl/pe.em (pe_find_data_imports): Likewise. (gld_${EMULATION_NAME}_after_open): Likewise. * emultempl/pep.em (pep_find_data_imports): Likewise. (gld_${EMULATION_NAME}_after_open): Likewise. * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count, passive_position, closed. * ldlang.c (new_afile): Don't set asymbols and symbol_count. * ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 6de4267..4846197 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -232,12 +232,6 @@ typedef struct lang_input_statement_struct
bfd *the_bfd;
- file_ptr passive_position;
-
- /* Symbol table of the file. */
- asymbol **asymbols;
- unsigned int symbol_count;
-
/* Point to the next file - whatever it is, wanders up and down
archives */
union lang_statement_union *next;
@@ -247,7 +241,6 @@ typedef struct lang_input_statement_struct
const char *target;
- unsigned int closed : 1;
unsigned int is_archive : 1;
/* 1 means search a set of directories for this file. */