OSDN Git Service

bfd/
authorAlan Modra <amodra@bigpond.net.au>
Tue, 6 Nov 2007 13:49:18 +0000 (13:49 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 6 Nov 2007 13:49:18 +0000 (13:49 +0000)
commit52041662a27e127e1fa64e64b0e4872d5f60c8c8
tree644947d17919043e27d0a4edbfc3c96bfd3291d2
parentcae37477d112a9921ab6a21607b6419ca7b6a7e0
bfd/
* elf64-ppc.c (ppc64_elf_check_relocs): Don't refcount tlsld_got here..
(ppc64_elf_gc_sweep_hook): ..or here..
(ppc64_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.
(ppc64_elf_size_dynamic_sections): Allocate local got and call
allocate_dynrelocs before allocating tlsld_got.
(ppc64_elf_relocate_section): Remove check that a tls_get_addr
call follows gd and ld relocs.
ld/testsuite/
* ld-powerpc/tlsso.d: Update for changed got alloc order.
* ld-powerpc/tlsso.r: Likewise.
bfd/ChangeLog
bfd/elf64-ppc.c