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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
arm * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY. 2002-11-15 22:51:30 +00:00
cris Update. 2002-08-28 21:32:56 +00:00
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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
i960 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ia64 2002-11-20 Steven Munroe <sjmunroe@us.ibm.com> 2002-11-22 05:05:02 +00:00
ieee754 Update. 2002-09-10 01:40:26 +00:00
m68k * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal) 2002-09-22 16:47:55 +00:00
m88k Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
mach * posix/bug-regex13.c: Include <string.h>. 2002-12-01 23:17:11 +00:00
mips * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
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 * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
rs6000 Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
s390 2002-10-23 Roland McGrath <roland@redhat.com> 2002-10-23 23:48:42 +00:00
sh * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only 2002-11-06 00:08:36 +00:00
sparc Update. 2002-10-03 00:24:35 +00:00
standalone Update. 2002-08-03 07:02:10 +00:00
tahoe update from main archive 960909 1996-09-10 02:00:15 +00:00
unix * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change 2002-12-05 23:47:33 +00:00
vax Update. 2002-07-06 06:36:39 +00:00
wordsize-32 Update. 2002-09-19 06:50:30 +00:00
wordsize-64 Update. 2002-08-08 11:46:51 +00:00
x86_64 Regenerated. 2002-12-03 15:39:37 +00:00
z8000 Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00