glibc/sysdeps
Roland McGrath 581dc54b74 2002-08-04 Roland McGrath <roland@redhat.com>
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): New function,
	split out of _dl_allocate_tls.
	(_dl_allocate_tls_init): Likewise.
	(_dl_allocate_tls): Call those.
	* sysdeps/generic/ldsodefs.h: Declare them with attribute_hidden.
	* elf/rtld.c (dl_main): Call them separately instead of calling
	_dl_allocate_tls.  Delay _dl_allocate_tls_init until after relocation
	is finished, so that the initializer data has been relocated before we
	copy it into the main thread's TLS block.
	* sysdeps/generic/dl-tls.c (_dl_allocate_tls): Fix off-by-one error in
	loop conditions, prevented the last used module from being initialized.
2002-08-05 01:20:52 +00:00
..
alpha (__stpcpy): Add libc_hidden_def. 2002-08-04 01:22:11 +00:00
am29k Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
arm Update. 2002-07-15 03:58:49 +00:00
cris Cris stack information. 2002-06-06 14:14:17 +00:00
generic 2002-08-04 Roland McGrath <roland@redhat.com> 2002-08-05 01:20:52 +00:00
gnu Update. 2002-08-05 00:43:00 +00:00
hppa Don't use multi-line string literals. 2002-06-20 06:23:14 +00:00
i386 (__stpcpy): Add libc_hidden_def. 2002-08-04 01:22:11 +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 Update. 2002-07-25 01:30:57 +00:00
ieee754 Update. 2002-07-11 05:55:13 +00:00
m68k Update. 2002-08-03 07:02:10 +00:00
m88k Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
mach Update. 2002-08-04 09:27:27 +00:00
mips Update. 2002-07-16 01:02:04 +00:00
posix Update. 2002-08-04 23:32:14 +00:00
powerpc (__stpcpy): Add libc_hidden_def. 2002-08-04 01:22:11 +00:00
pthread Update. 2002-06-29 23:35:02 +00:00
rs6000 Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
s390 Update. 2002-07-11 21:44:15 +00:00
sh Update. 2002-07-20 01:14:41 +00:00
sparc (__stpcpy): Add libc_hidden_def. 2002-08-04 01:22:11 +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 Update. 2002-08-05 00:43:00 +00:00
vax Update. 2002-07-06 06:36:39 +00:00
wordsize-32 Update. 2002-07-25 08:19:59 +00:00
wordsize-64 Update. 2002-08-05 00:43:00 +00:00
x86_64 Fix whitespace. 2002-07-23 19:36:49 +00:00
z8000 Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00