diff options
author | Alan Modra <amodra@gmail.com> | 2001-10-15 09:45:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-10-15 09:45:48 +0000 |
commit | 1e370bd243d55d65b5a6f5653ac932d0be6c9434 (patch) | |
tree | 8a84bccf9df22f28c42ee942b4a38c8c7b77fd93 /bfd/elf.c | |
parent | bbd7ec4a06eab624965300ea7c0b7de4044811b3 (diff) | |
download | gdb-1e370bd243d55d65b5a6f5653ac932d0be6c9434.zip gdb-1e370bd243d55d65b5a6f5653ac932d0be6c9434.tar.gz gdb-1e370bd243d55d65b5a6f5653ac932d0be6c9434.tar.bz2 |
* elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
rather than ind->weakdef.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1193,7 +1193,7 @@ _bfd_elf_link_hash_copy_indirect (dir, ind) | ELF_LINK_HASH_REF_REGULAR_NONWEAK | ELF_LINK_NON_GOT_REF)); - if (dir == ind->weakdef) + if (ind->root.type != bfd_link_hash_indirect) return; /* Copy over the global and procedure linkage table refcount entries. |