* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
authorAlan Modra <amodra@gmail.com>
Mon, 10 Mar 2003 23:25:13 +0000 (23:25 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 10 Mar 2003 23:25:13 +0000 (23:25 +0000)
commite515b051720482023e3f79e418d8b381e29273f3
tree655fb7c6e6041c298be80fff59d491198ae7c21f
parent8c87bc22967dca0135f841ee6ccfbdc36f6597ee
* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
zero index dynamic tls relocs generated for the GOT.  Tidy code.
Set "relocation" to 1 on DTPMOD32 relocs.  Optimize HA adjustment.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.

* ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
* ld-powerpc/tlsso32.r: Likewise.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/tlsso.r
ld/testsuite/ld-powerpc/tlsso32.r