From 167d5acc0d83877cb8651571fd27d8367281a5b9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 20 Mar 2005 22:25:59 +0000 Subject: [BZ #786] 2005-03-15 Jakub Jelinek [BZ #786] * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx). * elf/Makefile: Add rules to build and run tst-tls15. * elf/tst-tls15.c: New test. * elf/tst-tlsmod15a.c: New file. * elf/tst-tlsmod15b.c: New file. 2005-03-20 Ulrich Drepper * elf/rtld.c (dl_main): Always call init_tls if we have audit modules. --- elf/rtld.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'elf/rtld.c') diff --git a/elf/rtld.c b/elf/rtld.c index 56cd39f..a2ca24e 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -1306,8 +1306,7 @@ ld.so does not support TLS, but program uses it!\n"); /* Since we start using the auditing DSOs right away we need to initialize the data structures now. */ - if (!TLS_INIT_TP_EXPENSIVE) - tcbp = init_tls (); + tcbp = init_tls (); #endif struct dlmopen_args dlmargs; dlmargs.fname = al->name; -- cgit v1.1