diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-10-15 09:45:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-10-15 09:45:48 +0000 |
commit | 04e87cbfba8d3b877a904b1e79f5e2af59c107cc (patch) | |
tree | ce9331f1b4443009478414a279142d3649c27584 /bfd/elf32-hppa.c | |
parent | 75e86fd846e2f471bd72ffe1ea168f4c195a2e39 (diff) | |
download | gdb-04e87cbfba8d3b877a904b1e79f5e2af59c107cc.tar.gz |
* 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/elf32-hppa.c')
-rw-r--r-- | bfd/elf32-hppa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index 65315753b25..14170237438 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -1149,7 +1149,7 @@ elf32_hppa_copy_indirect_symbol (dir, ind) struct elf32_hppa_dyn_reloc_entry **pp; struct elf32_hppa_dyn_reloc_entry *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 |