From e413826144bcd0a910e8a6f942ec34a368f65613 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 23 Feb 2002 07:59:56 +0000 Subject: Update. 2002-02-22 Ulrich Drepper * elf/Versions: Add _dl_allocate_tls and _dl_deallocate_tls. * elf/rtld.c (dl_main): Use _dl_allocate_tls with INTUSE. * sysdeps/generic/dl-tls.c: Add INTDEF for _dl_allocate_tls. (_dl_deallocate_tls): New function. * sysdeps/generic/ldsodefs.h: Declare _dl_allocate_tls_internal and _dl_deallocate_tls. --- elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/rtld.c') diff --git a/elf/rtld.c b/elf/rtld.c index d7653f2394..b926271590 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -1240,7 +1240,7 @@ of this helper program; chances are you did not intend to run this program.\n\ for the thread descriptor. The memory for the TLS block will never be freed. It should be allocated accordingly. The dtv array can be changed if dynamic loading requires it. */ - tcbp = _dl_allocate_tls (); + tcbp = INTUSE(_dl_allocate_tls) (); if (tcbp == NULL) _dl_fatal_printf ("\ cannot allocate TLS data structures for inital thread"); -- cgit 1.4.1