OSDN Git Service

* elflink.h (elf_fix_symbol_flags): Copy flags to weakdef using
authoramodra <amodra>
Wed, 3 Oct 2001 08:33:17 +0000 (08:33 +0000)
committeramodra <amodra>
Wed, 3 Oct 2001 08:33:17 +0000 (08:33 +0000)
commitb7cbf442b389f8df493fe1496c311b4f01011d33
treec1dcda34a0ddc6bdd687047a81f7612448e9c068
parent8665f2d4be786adb23b01ea2668b3a590b59ca2c
* elflink.h (elf_fix_symbol_flags): Copy flags to weakdef using
elf_backend_copy_indirect_symbol so that backend has a chance to
copy other necessary fields.
* elf-bfd.h (struct elf_backend_data): Update description of
elf_backend_copy_indirect_symbol.
* elf.c (_bfd_elf_link_hash_copy_indirect): Bail out after
copying flags if this is a weakdef.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
(elfNN_ia64_aix_add_symbol_hook): Use elf_link_hash_lookup rather
than bfd_link_hash_lookup.
* elf32-i386 (elf_i386_adjust_dynamic_symbol): Don't do copy
reloc processing for weakdefs.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-hppa.c
bfd/elf32-i386.c
bfd/elf64-ppc.c
bfd/elflink.h
bfd/elfxx-ia64.c