* include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define.
commit4c533566c2bb94162bcc1f66c5cf9db609e20803
authorUlrich Drepper <drepper@redhat.com>
Thu, 17 Jan 2008 20:20:00 +0000 (17 20:20 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 17 Jan 2008 20:20:00 +0000 (17 20:20 +0000)
treeeb3d31e6a55056dc285e43b4700dccded4b88771
parenta0f6c236e068b4fa2d1116cdf7d31b2c2722ab6c
* include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define.

* elf/dl-close.c (_dl_close): Check for it.
* elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise.
(_dl_allocate_static_tls): Likewise.
* elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
(__tls_get_addr): Protect from race conditions in setting l_tls_offset
to it.
* elf/tst-tls16.c: New file.
* elf/tst-tlsmod16a.c: New file.
* elf/tst-tlsmod16b.c: New file.
* elf/Makefile: Add rules to build and run tst-tls16.
ChangeLog
elf/Makefile
elf/dl-close.c
elf/dl-reloc.c
elf/dl-tls.c
elf/tst-tls16.c [new file with mode: 0644]
elf/tst-tlsmod16a.c [new file with mode: 0644]
elf/tst-tlsmod16b.c [new file with mode: 0644]
include/link.h