From 1e370bd243d55d65b5a6f5653ac932d0be6c9434 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 15 Oct 2001 09:45:48 +0000 Subject: * 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. --- bfd/elf32-mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/elf32-mips.c') diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 09f7758..0bd473d 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -8085,7 +8085,7 @@ _bfd_mips_elf_copy_indirect_symbol (dir, ind) _bfd_elf_link_hash_copy_indirect (dir, ind); - if (dir == ind->weakdef) + if (ind->root.type != bfd_link_hash_indirect) return; dirmips = (struct mips_elf_link_hash_entry *) dir; -- cgit v1.1