This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/elf dl-load.c
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 6 Dec 2002 11:11:30 -0000
- Subject: libc/elf dl-load.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.org 2002-12-06 03:11:30
Modified files:
elf : dl-load.c
Log message:
2002-12-06 Roland McGrath <roland@redhat.com>
* sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of
malloc and memset; calloc can avoid the zeroing when redundant.
(_dl_tls_setup): Likewise.
* elf/dl-load.c (decompose_rpath): Likewise.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset
call, since memory from sbrk at startup is already zero.
* elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an
error string for failure, null for success. Update callers.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.