bfd/
authorAlan Modra <amodra@gmail.com>
Tue, 6 Nov 2007 03:59:16 +0000 (03:59 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 6 Nov 2007 03:59:16 +0000 (03:59 +0000)
commitb7fcf6f6bb53b5027e111107f5416769cb9a5798
tree51bad855a952144d6c62fe89a44c32b3a1e0fd65
parentc63eb11c7b1158d190360c84612999fea444e0af
bfd/
* elf32-ppc.c (ppc_elf_check_relocs): Don't refcount tlsld_got here..
(ppc_elf_gc_sweep_hook): ..or here..
(ppc_elf_tls_optimize): ..or here.  Make two passes through the
relocs, ensuring that tls_get_addr calls follow gd and ld relocs.
(allocate_dynrelocs): Refcount tlsld_got here.
(ppc_elf_size_dynamic_sections): Call allocate_dynrelocs before
allocating tlsld_got.
(ppc_elf_relocate_section): Remove check that a tls_get_addr
call follows gd and ld relocs.
ld/testsuite/
* ld-powerpc/tlsso32.d: Update for changed got alloc order.
bfd/ChangeLog
bfd/elf32-ppc.c
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/tlsso32.d