glibc/sysdeps
Roland McGrath 216455bc28 * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
members to the end, so a libpthread compiled with !USE_TLS will still
	find other members properly.

	* sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output
	operand for DEST memory.  Fix dummy input operand to use SRC.
	Reported by Davin McCall <davmac@ozonline.com.au>.

	* sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB
	alignment when initializing the DTV entry.

	* elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment
	when TLS has not been set up, try to set it up if we can.
	* elf/tst-tls4.c: Revert last change.
	* elf/tst-tls5.c: Likewise.
	* elf/tst-tls6.c: Likewise.
	* elf/tst-tls7.c: Likewise.
	* elf/tst-tls8.c: Likewise.
	* elf/tst-tls9.c: Likewise.

	* sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
	* sysdeps/generic/ldsodefs.h: Declare it.
	* elf/Versions (ld: GLIBC_PRIVATE): Add it.
	* sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
	function, broken out of __libc_setup_tls.
	(init_static_tls): Likewise.
	(__libc_setup_tls): Call them.
	(_dl_tls_setup): New function, uses new subroutines.

	* elf/dl-close.c (free_slotinfo): Make argument pointer to pointer.
	Clear the pointer when returning true.
	(libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the
	first element of the slotinfo list too.

	* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if
	[SHARED].

	* sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
	(_dl_determine_tlsoffset): Likewise.

	* elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
	startup_error_tsd, made global.
	(dl_main): Update initialization.
	* elf/dl-tsd.c: Likewise.
	* sysdeps/generic/ldsodefs.h: Declare it.
2002-12-04 12:30:40 +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/ldsodefs.h (struct rtld_global): Move all [USE_TLS] 2002-12-04 12:30:40 +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 2002-12-02 Roland McGrath <roland@redhat.com> 2002-12-03 07:28:09 +00:00
vax
wordsize-32
wordsize-64
x86_64 Regenerated. 2002-12-03 15:39:37 +00:00
z8000