* elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
authorAlan Modra <amodra@gmail.com>
Fri, 5 May 2006 13:07:30 +0000 (13:07 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 5 May 2006 13:07:30 +0000 (13:07 +0000)
commit30038c5930b5130c225e5204212620e98a725c0b
tree488242e2f3872ffa423b22688d32140c68d6827e
parent2a60a7a82c70e4965ea69cde7f19fd704ff3e897
* elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
the .toc and referenced by a TLS code sequence.
(ppc64_elf_edit_toc): Cater for the unlikely situation that
.toc is the first section in a file.
bfd/ChangeLog
bfd/elf64-ppc.c