]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* libelf.h (struct elf_link_hash_table): Add needed field. Remove
authorIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 16:54:49 +0000 (16:54 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 16:54:49 +0000 (16:54 +0000)
commitb176e1e92a344be1f241b74f03ee00241bd5cde3
tree93bc1829d56a4eaef62f1e237283044803dd514d
parent194fc93542a4d8d88ed74628d43073e6f3ad13c3
* libelf.h (struct elf_link_hash_table): Add needed field.  Remove
saw_needed field.
* elfcode.h (elf_link_add_object_symbols): If elf_dt_needed_name
is an empty string, don't make a DT_NEEDED entry in the output
file.  Record all DT_NEEDED entries found in input dynamic
objects.
(elf_link_output_extsym): Don't check saw_needed when issuing
warnings.
* elf.c (_bfd_elf_link_hash_table_init): Initialize needed, not
saw_needed.
(bfd_elf_get_needed_list): New function.
* bfd-in.h (struct bfd_elf_link_needed_list): Define.
(bfd_elf_get_needed_list): Define.
* bfd-in2.h: Rebuild.
PR 7083.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf.c
bfd/elfcode.h
bfd/libelf.h