Patch 3/4 of the effort to make TLS access async-signal-safe.
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 19 Dec 2013 00:24:19 +0000 (16:24 -0800)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 19 Dec 2013 00:24:19 +0000 (16:24 -0800)
commit35e8f7ab94c910659de9d507aa0f3e1f8973d914
treefca3c69ec2085dbeee15673472350c9067ddf4f7
parent69a17d9d245dc3551792e95e1823cc2d877592f3
Patch 3/4 of the effort to make TLS access async-signal-safe.
Factor out _dl_clear_dtv.

2013-12-18  Andrew Hunter  <ahh@google.com>

* elf/Versions (ld): Add _dl_clear_dtv.
* sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
* elf/dl-tls.c (_dl_clear_dtv): New function.
* nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
ChangeLog
elf/Versions
elf/dl-tls.c
nptl/allocatestack.c
sysdeps/generic/ldsodefs.h