bfd/
commit3a375e7d4f2f55a165967841092cc704a1efd9ba
authorAlan Modra <amodra@bigpond.net.au>
Tue, 6 Nov 2007 03:59:16 +0000 (6 03:59 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 6 Nov 2007 03:59:16 +0000 (6 03:59 +0000)
tree296d46080d73351fd885eab3eaf19317dd31f199
parent33072958ab07d07a475209c0be5e883dd4ff4f04
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