OSDN Git Service

* elflink.c (_bfd_elf_merge_symbol): Revert last change. Move
authorAlan Modra <amodra@bigpond.net.au>
Fri, 19 Mar 2004 01:36:45 +0000 (01:36 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 19 Mar 2004 01:36:45 +0000 (01:36 +0000)
commit20b8d36e0e71a1463f7359f6716161f0a15d0875
treeab8b080c45688a5e9950c6a3664e79746150bc08
parent9301f67d03c69988eea4bb802f74d9e7dbbd7e0f
* 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