This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/elf dl-close.c rtld.c dl-load.c
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 3 Dec 2002 01:50:24 -0000
- Subject: libc/elf dl-close.c rtld.c dl-load.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.org 2002-12-02 17:50:24
Modified files:
elf : dl-close.c rtld.c dl-load.c
Log message:
2002-12-02 Roland McGrath <roland@redhat.com>
* elf/rtld.c (dl_main): Remove [! SHARED] conditional from
`if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup.
* elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list)
for being null before calling free_slotinfo.
* elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in
dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero.