glibc/sysdeps/i386
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
..
bits 2002-10-31 Roland McGrath <roland@redhat.com> 2002-11-01 04:12:25 +00:00
elf * configure: Regenerated (using Autoconf 2.54). 2002-10-19 20:07:18 +00:00
fpu Update. 2002-09-10 01:40:26 +00:00
i486 * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] 2002-12-04 12:30:40 +00:00
i586 (__stpcpy): Add libc_hidden_def. 2002-08-04 01:22:11 +00:00
i686 Update. 2002-08-03 07:02:10 +00:00
i786 Also applying directories. 1999-01-24 10:39:22 +00:00
soft-fp * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q): 2002-11-01 21:49:33 +00:00
sys Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__longjmp.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
abort-instr.h update from main archive 961220 1996-12-21 04:13:58 +00:00
add_n.S Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
addmul_1.S Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
asm-syntax.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
backtrace.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bp-asm.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bsd-_setjmp.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bsd-setjmp.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bzero.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Dist Update. 2002-08-28 09:31:39 +00:00
dl-machine.h * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY. 2002-11-15 22:51:30 +00:00
dl-tls.h * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
ffs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fpu_control.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gccframe.h Update. 2001-11-16 01:27:24 +00:00
gmp-mparam.h Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
htonl.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
htons.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
i386-mcount.S Update. 2002-03-15 09:30:44 +00:00
Implies Update. 1999-10-20 03:20:31 +00:00
init-first.c Update. 2002-03-13 06:33:52 +00:00
ldbl2mpn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lshift.S Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
machine-gmon.h Update. 2002-03-15 09:30:44 +00:00
Makefile Update. 2002-09-19 06:50:30 +00:00
memchr.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
memcmp.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
memcopy.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
memset.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
memusage.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mp_clz_tab.c Update. 2002-03-14 20:48:50 +00:00
mul_1.S Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
rawmemchr.S Update. 2002-08-03 07:02:10 +00:00
rshift.S Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
setjmp.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stackinfo.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stpcpy.S (__stpcpy): Add libc_hidden_def. 2002-08-04 01:22:11 +00:00
stpncpy.S Update. 2002-08-03 07:02:10 +00:00
strchr.S Add comment. 2002-08-10 18:12:27 +00:00
strchrnul.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strcspn.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strlen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strpbrk.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strrchr.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strspn.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strtok_r.S * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM (). 2000-06-26 22:15:00 +00:00
strtok.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sub_n.S Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
submul_1.S Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
sysdep.h * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
Versions Update. 1999-05-17 17:25:32 +00:00