mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 19:30:10 +00:00
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
for the new TCB.
This commit is contained in:
parent
e2df2b3e64
commit
cdedcc7943
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-13 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
|
||||||
|
for the new TCB.
|
||||||
|
|
||||||
2002-11-13 Andreas Jaeger <aj@suse.de>
|
2002-11-13 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
|
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2002-11-13 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* Examples/ex6.c (main): Improve error reporting.
|
||||||
|
|
||||||
2002-11-04 Ulrich Drepper <drepper@redhat.com>
|
2002-11-04 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/i386/Makefile: Compile pthread.c and sighandler.c with
|
* sysdeps/i386/Makefile: Compile pthread.c and sighandler.c with
|
||||||
|
@ -262,6 +262,10 @@ _dl_allocate_tls_storage (void)
|
|||||||
result = (char *) result + GL(dl_tls_static_size) - TLS_TCB_SIZE;
|
result = (char *) result + GL(dl_tls_static_size) - TLS_TCB_SIZE;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
/* Clear the TCB data structure. We can't ask the caller (i.e.
|
||||||
|
libpthread) to do it, because we will initialize the DTV et al. */
|
||||||
|
memset (result, 0, TLS_TCB_SIZE);
|
||||||
|
|
||||||
result = allocate_dtv (result);
|
result = allocate_dtv (result);
|
||||||
if (result == NULL)
|
if (result == NULL)
|
||||||
free (allocated);
|
free (allocated);
|
||||||
|
Loading…
Reference in New Issue
Block a user