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 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/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 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 2002-12-02 Roland McGrath <roland@redhat.com> 2002-12-03 07:28:09 +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