glibc/sysdeps
Roland McGrath fde89ad009 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.
* malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]
	(malloc_starter, memalign_starter, free_starter): Don't define these.
	* malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]:
	Don't declare them either.
	* malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call
	__pthread_initialize, so no need to set hooks to *_starter.
	(ptmalloc_init_minimal): New function, broken out of ptmalloc_init.
	[_LIBC && SHARED && USE_TLS && !USE___THREAD]
	(__libc_malloc_pthread_startup): New function.
	* malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.

	* malloc/hooks.c (memalign_starter): New function.
	* malloc/malloc.c: Declare it.
	* malloc/arena.c (save_memalign_hook): New variable.
	(ptmalloc_init): Set __memalign_hook to memalign_starter.

	* elf/dl-minimal.c (free): Clear the memory.
	(calloc): Just call malloc, knowing all memory it returns is cleared.

	* 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.
2002-12-06 11:15:07 +00:00
..
alpha * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test. 2002-11-08 02:20:41 +00:00
am29k
arm * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY. 2002-11-15 22:51:30 +00:00
cris
generic * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN. 2002-12-06 11:15:07 +00:00
gnu * inet/test-ifaddrs.c (main: addr_string): Handle null SA. 2002-11-26 03:29:06 +00:00
hppa * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both 2002-12-03 02:50:58 +00:00
i386 * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] 2002-12-04 12:30:40 +00:00
i860
i960
ia64 2002-11-20 Steven Munroe <sjmunroe@us.ibm.com> 2002-11-22 05:05:02 +00:00
ieee754
m68k
m88k
mach * posix/bug-regex13.c: Include <string.h>. 2002-12-01 23:17:11 +00:00
mips
posix Update. 2002-12-03 09:01:03 +00:00
powerpc * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further 2002-11-21 04:10:59 +00:00
pthread
rs6000
s390
sh * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only 2002-11-06 00:08:36 +00:00
sparc
standalone
tahoe
unix * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change 2002-12-05 23:47:33 +00:00
vax
wordsize-32
wordsize-64
x86_64 Regenerated. 2002-12-03 15:39:37 +00:00
z8000