]> Git Repo - binutils.git/blobdiff - bfd/elf64-ppc.c
* elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
[binutils.git] / bfd / elf64-ppc.c
index 1bbd253d1028f047cbac2fb7ddc8c047359c1e7f..59ae522578670a28217551a2d01fa16d0e9b03a6 100644 (file)
@@ -1801,7 +1801,7 @@ ppc64_elf_copy_indirect_symbol (dir, ind)
          struct ppc_dyn_relocs **pp;
          struct ppc_dyn_relocs *p;
 
-         if (dir != ind->weakdef)
+         if (ind->root.type == bfd_link_hash_indirect)
            abort ();
 
          /* Add reloc counts against the weak sym to the strong sym
This page took 0.024934 seconds and 4 git commands to generate.