aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-15 09:45:48 +0000
committerAlan Modra <amodra@gmail.com>2001-10-15 09:45:48 +0000
commit1e370bd243d55d65b5a6f5653ac932d0be6c9434 (patch)
tree8a84bccf9df22f28c42ee942b4a38c8c7b77fd93 /bfd/elfxx-ia64.c
parentbbd7ec4a06eab624965300ea7c0b7de4044811b3 (diff)
downloadgdb-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/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index e651b5f..5fa95b4 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -1524,7 +1524,7 @@ elfNN_ia64_hash_copy_indirect (xdir, xind)
| ELF_LINK_HASH_REF_REGULAR
| ELF_LINK_HASH_REF_REGULAR_NONWEAK));
- if (xdir == xind->weakdef)
+ if (ind->root.root.type != bfd_link_hash_indirect)
return;
/* Copy over the got and plt data. This would have been done