* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy
authorAlan Modra <amodra@gmail.com>
Sat, 23 Feb 2008 01:56:21 +0000 (01:56 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 23 Feb 2008 01:56:21 +0000 (01:56 +0000)
commit0eb4a168d474b103ece58f499e34ae7e99962f2a
tree7a433b7e22eff7bf5ed2a3fb73aa7d07df369575
parent3ae181ee8903e608d34e41dc92a28b22808bc495
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy
pointer_equality_needed.
(ppc_elf_check_relocs): Split out non-branch relocs from others
that might emit dynamic relocs.  Set pointer_equality_needed
for their symbols.  Don't set non_got_ref on branch reloc symbols.
(ppc_elf_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
(ppc_elf_finish_dynamic_symbol): Handle pointer_equality_needed.
Error if pointer_equality_needed on weak plt symbol.
bfd/ChangeLog
bfd/elf32-ppc.c