* libelf.h (struct elf_link_hash_table): Add saw_needed field.
authorIan Lance Taylor <ian@airs.com>
Mon, 6 Feb 1995 23:23:37 +0000 (23:23 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 6 Feb 1995 23:23:37 +0000 (23:23 +0000)
commit59474174039062373caaee75dbcce0e6a5760968
tree26c77b1185848048427ee558dd9db120337a5883
parent1fa313e2441b0a29fc4a18452781c8f3208c14a0
* libelf.h (struct elf_link_hash_table): Add saw_needed field.
* elfcode.h (elf_link_add_object_symbols): Set saw_needed if
DT_NEEDED seen in .dynamic section.
(elf_link_output_extsym): Warn if an undefined symbol is
only referenced from a dynamic object, and not making a shared
object, and saw_needed is false.
* elf.c (_bfd_elf_link_hash_table_init): Initialize saw_needed.
bfd/ChangeLog
bfd/elfcode.h
bfd/libelf.h