diff options
author | Alan Modra <amodra@gmail.com> | 2004-03-19 01:36:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-03-19 01:36:45 +0000 |
commit | 0f8a2703a9f9b846ce30fd5d005413fb1479a5e8 (patch) | |
tree | f7c69a6d7a1f187ce5717002cbb9ba6ea7f2a3c1 /bfd/elf-bfd.h | |
parent | c91810500b910a140343c65da809075723690a18 (diff) | |
download | gdb-0f8a2703a9f9b846ce30fd5d005413fb1479a5e8.zip gdb-0f8a2703a9f9b846ce30fd5d005413fb1479a5e8.tar.gz gdb-0f8a2703a9f9b846ce30fd5d005413fb1479a5e8.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index a90024f..b9dd9b2 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1476,12 +1476,12 @@ extern bfd_boolean _bfd_elf_maybe_strip_eh_frame_hdr extern bfd_boolean _bfd_elf_merge_symbol (bfd *, struct bfd_link_info *, const char *, Elf_Internal_Sym *, asection **, bfd_vma *, struct elf_link_hash_entry **, bfd_boolean *, - bfd_boolean *, bfd_boolean *, bfd_boolean *, bfd_boolean); + bfd_boolean *, bfd_boolean *, bfd_boolean *); extern bfd_boolean _bfd_elf_add_default_symbol (bfd *, struct bfd_link_info *, struct elf_link_hash_entry *, const char *, Elf_Internal_Sym *, asection **, bfd_vma *, - bfd_boolean *, bfd_boolean, bfd_boolean); + bfd_boolean *, bfd_boolean); extern bfd_boolean _bfd_elf_export_symbol (struct elf_link_hash_entry *, void *); |