diff options
author | Alan Modra <amodra@gmail.com> | 2016-05-11 21:54:05 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-05-11 22:40:09 +0930 |
commit | 3bd43ebcb6025a8a43f119238f490e2e238697a2 (patch) | |
tree | 8f23db6516221776375d577ae78f6e3a145c69e5 /bfd/hash.c | |
parent | a6684f0dddb292873f962dc36b20e6db00ef6b09 (diff) | |
download | gdb-3bd43ebcb6025a8a43f119238f490e2e238697a2.zip gdb-3bd43ebcb6025a8a43f119238f490e2e238697a2.tar.gz gdb-3bd43ebcb6025a8a43f119238f490e2e238697a2.tar.bz2 |
ld --gc-sections fail with __tls_get_addr_opt
When --gc-sections is active, __tls_get_addr_opt is marked as not
needed and forced local before ppc*_elf_tls_setup is run.
bfd/
PR 20060
* elf64-ppc.c (ppc64_elf_tls_setup): Clear forced_local.
* elf32-ppc.c (ppc_elf_tls_setup): Likewise.
ld/
PR 20060
* testsuite/ld-powerpc/powerpc.exp: Run new tests.
* testsuite/ld-powerpc/tlsdll.s: New.
* testsuite/ld-powerpc/tlsdll.ver: New.
* testsuite/ld-powerpc/tlsdll_32.s: New.
* testsuite/ld-powerpc/tlsopt5.d: New.
* testsuite/ld-powerpc/tlsopt5.s: New.
* testsuite/ld-powerpc/tlsopt5_32.d: New.
* testsuite/ld-powerpc/tlsopt5_32.s: New.
Diffstat (limited to 'bfd/hash.c')
0 files changed, 0 insertions, 0 deletions