OSDN Git Service

bfd/
authorAlan Modra <amodra@bigpond.net.au>
Tue, 6 Nov 2007 03:59:14 +0000 (03:59 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 6 Nov 2007 03:59:14 +0000 (03:59 +0000)
commitcae37477d112a9921ab6a21607b6419ca7b6a7e0
treea4ace565627a4839a9adf7a938201445ea138516
parentbe178f42a861662abc034dc84fc4a5dd56c4f2b0
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