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
soft-fp * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q): 2002-11-01 21:49:33 +00:00
sys
__longjmp.S
abort-instr.h
add_n.S
addmul_1.S
asm-syntax.h
backtrace.c
bp-asm.h
bsd-_setjmp.S
bsd-setjmp.S
bzero.c
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
fpu_control.h
gccframe.h Update. 2001-11-16 01:27:24 +00:00
gmp-mparam.h
htonl.S
htons.S
i386-mcount.S Update. 2002-03-15 09:30:44 +00:00
Implies
init-first.c Update. 2002-03-13 06:33:52 +00:00
ldbl2mpn.c
lshift.S
machine-gmon.h Update. 2002-03-15 09:30:44 +00:00
Makefile Update. 2002-09-19 06:50:30 +00:00
memchr.S
memcmp.S
memcopy.h
memset.c
memusage.h
mp_clz_tab.c Update. 2002-03-14 20:48:50 +00:00
mul_1.S
rawmemchr.S Update. 2002-08-03 07:02:10 +00:00
rshift.S
setjmp.S
stackinfo.h
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
strcspn.S
strlen.c
strpbrk.S
strrchr.S
strspn.S
strtok_r.S
strtok.S
sub_n.S
submul_1.S
sysdep.h * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
Versions