bfd/
authorAlan Modra <amodra@gmail.com>
Sun, 17 Aug 2008 03:12:50 +0000 (03:12 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 17 Aug 2008 03:12:50 +0000 (03:12 +0000)
commit5c1d2f5f4c7747c36eae8be3abd4ef4e9669690c
tree3be4145ee7086fe0315ad0ce506626b5ca560759
parent1f5064de53c27d99fb92efd65a6785e2f1ec0835
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.
15 files changed:
bfd/ChangeLog
bfd/bfd-in2.h
bfd/bfd.c
bfd/linker.c
include/ChangeLog
include/bfdlink.h
ld/ChangeLog
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/ldcref.c
ld/ldlang.c
ld/ldlang.h
ld/ldmain.c
ld/ldmisc.c
ld/pe-dll.c