* linker.c (generic_link_add_symbol_list): Skip constructor

symbols which the main linker code did not do anything with.
	(_bfd_generic_link_output_symbols): Use udata.p if it is set,
	rather than looking the symbol up in the hash table.  Just pass
	through constructor symbols for which udata.p is not set.  If the
	linker defined the symbol, clear the constructor flag.
Fix -r for b.out file format when constructor symbols are defined.
This commit is contained in:
Ian Lance Taylor 1995-03-28 20:17:37 +00:00
parent c50e740c11
commit da7bfa91fb
1 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,17 @@
Tue Mar 28 15:14:11 1995 Ian Lance Taylor <ian@cygnus.com>
* linker.c (generic_link_add_symbol_list): Skip constructor
symbols which the main linker code did not do anything with.
(_bfd_generic_link_output_symbols): Use udata.p if it is set,
rather than looking the symbol up in the hash table. Just pass
through constructor symbols for which udata.p is not set. If the
linker defined the symbol, clear the constructor flag.
Mon Mar 20 22:39:10 1995 Jeff Law (law@snake.cs.utah.edu)
* som.c (som_slurp_symbol_table): Tighten test to determine
what symbols are section symbols.
Sat Mar 18 01:54:45 1995 Ian Lance Taylor <ian@cygnus.com>
* elfcode.h (elf_bfd_link_add_symbols): An empty archive is OK.