* elflink.c (_bfd_elf_merge_symbol): Revert last change. Move
authorAlan Modra <amodra@gmail.com>
Fri, 19 Mar 2004 01:36:45 +0000 (01:36 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 19 Mar 2004 01:36:45 +0000 (01:36 +0000)
commit0f8a2703a9f9b846ce30fd5d005413fb1479a5e8
treef7c69a6d7a1f187ce5717002cbb9ba6ea7f2a3c1
parentc91810500b910a140343c65da809075723690a18
* elflink.c (_bfd_elf_merge_symbol): Revert last change.  Move
type and size change code to where it was previously.  Remove
dt_needed param.  Treat old weak syms as strong if new sym is
from a shared lib, even when old sym is from another shared
lib.  Remove unnecessary tests of oldweak and newweak.  Correct
comments.
(_bfd_elf_add_default_symbol): Remove dt_needed param.  Update
_bfd_elf_merge_symbol calls.
* elflink.h (elf_link_add_object_symbols): Update calls.  Remove
dt_needed local var.  Update comments.
* elf-bfd.h (_bfd_elf_merge_symbol): Update prototype.
(_bfd_elf_add_default_symbol): Likewise.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elflink.c
bfd/elflink.h