From 7f507ee17aee720fa423fa38502bc3caa0dd03d7 Mon Sep 17 00:00:00 2001 From: Andrew Hunter Date: Fri, 3 Jan 2014 11:22:26 -0800 Subject: Async-signal safe TLS. ChangeLog: 2014-01-03 Andrew Hunter * elf/dl-open.c (): New comment. * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use atomic_compare_and_exchange_bool_acq (_dl_allocate_static_tls): Block signals. * elf/dl-tls.c (allocate_and_init): Return void. (_dl_update_slotinfo): Block signals, use atomic update. nptl/ChangeLog: 2014-01-03 Andrew Hunter * nptl/Makefile (tst-tls7): New test. * nptl/tst-tls7.c: New file. * nptl/tst-tls7mod.c: New file. * nptl/allocatestack.c (init_one_static_tls): Use atomic barrier. --- nptl/ChangeLog | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nptl/ChangeLog') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index c27ace4822..3c7675e591 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,4 +1,11 @@ -2011-12-12 Adhemerval Zanella +2014-01-03 Andrew Hunter + + * nptl/Makefile (tst-tls7): New test. + * nptl/tst-tls7.c: New file. + * nptl/tst-tls7mod.c: New file. + * nptl/allocatestack.c (init_one_static_tls): Use atomic barrier. + +2013-12-12 Adhemerval Zanella * sysdeps/powerpc/tls.h (struct tcbhead_t): Add DSO and TAR fields. * nptl/sysdeps/powerpc/tcb-offsets.sym: Likewise. -- cgit 1.4.1