* elf32-ppc.c (ppc_elf_relocate_section): Remove unnecessary test.
authorAlan Modra <amodra@gmail.com>
Tue, 18 Feb 2003 12:54:15 +0000 (12:54 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 18 Feb 2003 12:54:15 +0000 (12:54 +0000)
commitd881513ac97c5a3bc9fd0d183cecadffc2901069
treed03deffccead4103c9dd2000f42645525faa162b
parent89c3607e7b581ab2232dc188d0df6b675a57848b
* elf32-ppc.c (ppc_elf_relocate_section): Remove unnecessary test.
* elf64-ppc.c (ppc64_elf_tls_optimize): Decrement tlsld_got.refcount
on invalid LD relocs.
(allocate_dynrelocs): Invalid LD relocs don't use tlsld_got entry.
(ppc64_elf_relocate_section): Unify new handling of LD relocs and
tlsld_got entry.  Use IS_PPC64_TLS_RELOC.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c