glibc/include
Ulrich Drepper adc12574e5 Update.
2003-07-30  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value,
	call dl_signal_error directly.  If already relocated, call
	GL(dl_init_static_tls) directly, otherwise queue it for later.
	(CHECK_STATIC_TLS): Undo 2003-07-24 change.
	* elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls).
	* elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls
	for all static TLS initializations delayed in _dl_allocate_static_tls.
	* elf/dl-support.c (_dl_init_static_tls): New variable.
	* include/link.h (struct link_map): Add l_need_tls_init.
	* sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls.
	(_dl_nothread_init_static_tls): New prototype.
	(_dl_allocate_static_tls): Adjust prototype.

	* elf/tls-macros.h (VAR_INT_DEF): Add alignment directive.

	elf_machine_rela_relative): Adjust.
	(CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now.
2003-07-31 07:42:20 +00:00
..
arpa * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
bits * include/bits/dlfcn.h: New file. 2002-08-10 07:54:55 +00:00
gnu * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
net * include/sys/wait.h (__waitpid): Add libc_hidden_proto. 2002-08-13 01:08:15 +00:00
netinet Update. 2003-06-14 09:00:28 +00:00
protocols
rpc * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des. 2002-09-17 10:58:17 +00:00
rpcsvc
sys * include/sys/resource.h (__getrusage): Mark hidden. * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise. * include/sys/wait.h (__wait4): Likewise. 2003-06-30 23:15:13 +00:00
aio.h
aliases.h Declare __getaliasent_r as hidden. 2002-03-18 23:38:37 +00:00
alloca.h (extend_alloca): New define. Based on stack direction it'll try to append to the previouls allocated buffer. 2002-11-20 19:42:37 +00:00
argp.h
argz.h 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:06 +00:00
assert.h * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. 2002-08-30 01:31:18 +00:00
atomic.h Update. 2003-05-10 05:36:37 +00:00
byteswap.h
complex.h
ctype.h * include/ctype.h (__ctype_b_loc, __ctype_toupper_loc, 2003-07-29 23:48:35 +00:00
des.h
dirent.h Update. 2001-08-20 07:17:10 +00:00
dlfcn.h Update. 2003-07-22 23:56:53 +00:00
elf.h
endian.h
envz.h 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:06 +00:00
err.h * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. 2002-08-03 12:59:33 +00:00
errno.h Update. 2002-12-31 20:46:11 +00:00
error.h
execinfo.h
fcntl.h 2003-01-12 Roland McGrath <roland@redhat.com> 2003-01-13 03:42:08 +00:00
features.h Update. 2003-05-17 00:38:41 +00:00
fenv.h Update. 2002-09-10 01:40:26 +00:00
fnmatch.h * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
fpu_control.h
ftw.h
gconv.h
getopt.h * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass 2002-09-01 12:39:40 +00:00
glob.h * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
gmp.h * include/gmp.h: Include/gmp-mparam.h. * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and gmp-impl.h. 2003-03-14 05:48:18 +00:00
gnu-versions.h
grp.h * include/sys/wait.h (__waitpid): Add libc_hidden_proto. 2002-08-13 01:08:15 +00:00
iconv.h
ifaddrs.h Update. 2003-06-10 08:58:05 +00:00
langinfo.h * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. 2002-08-27 23:36:31 +00:00
libc-internal.h * include/libc-internal.h: Declare __libc_thread_freeres. 2003-02-22 22:46:40 +00:00
libc-symbols.h (_elf_set_element): Use attribute used so that gcc will not optimize it away. (link_warning): Likewise. 2003-07-22 19:24:48 +00:00
libgen.h
libintl.h (__ngettext, __dngettext, __dcngettext): New declarations. (__gettext, __dgettext, __dcgettext, __dcgettext_internal): Add attribute declarations. 2002-05-01 16:41:24 +00:00
libio.h Update. 2002-12-20 09:33:33 +00:00
limits.h
link.h Update. 2003-07-31 07:42:20 +00:00
locale.h 2002-08-27 Roland McGrath <roland@redhat.com> 2002-08-28 06:59:14 +00:00
malloc.h * include/fcntl.h: Declare __libc_creat. 2003-01-13 03:42:27 +00:00
math.h Update. 2002-09-10 01:40:26 +00:00
mcheck.h * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
memory.h
mntent.h Update. 2002-04-09 20:36:24 +00:00
monetary.h
netdb.h Update. 2003-04-24 23:45:17 +00:00
netgroup.h
nl_types.h
nss.h
nsswitch.h
obstack.h Update. 2002-08-04 09:27:27 +00:00
poll.h
printf.h Update. 2002-08-03 07:02:10 +00:00
pthread.h * sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop 2002-08-05 06:38:00 +00:00
pwd.h * include/bits/dlfcn.h: New file. 2002-08-10 07:54:55 +00:00
regex.h
resolv.h Update. 2003-07-22 23:10:17 +00:00
sched.h Update. 2003-03-03 22:02:13 +00:00
search.h * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
set-hooks.h Update. 2003-06-11 21:57:23 +00:00
setjmp.h Update. 2002-12-31 09:46:42 +00:00
sgtty.h
shadow.h * include/bits/dlfcn.h: New file. 2002-08-10 07:54:55 +00:00
shlib-compat.h * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
signal.h Update. 2003-04-29 22:49:58 +00:00
spawn.h
stab.h
stdio_ext.h Update. 2002-04-09 20:36:24 +00:00
stdio.h Update. 2003-07-22 23:56:53 +00:00
stdlib.h * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. 2002-08-27 23:36:31 +00:00
string.h Update. 2003-04-29 22:49:58 +00:00
strings.h
stub-tag.h
stubs-prologue.h * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
syscall.h
sysexits.h
syslog.h
tar.h
termios.h * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
tgmath.h
time.h Update. 2003-06-25 08:47:01 +00:00
tls.h * elf/tst-tls12.c (main): Fix declaration. 2003-04-23 01:54:52 +00:00
ttyent.h * include/search.h: Use libc_hidden_proto for hsearch_r, lfind. 2002-08-04 01:29:29 +00:00
ucontext.h
ulimit.h
unistd.h Update. 2003-05-06 06:34:21 +00:00
utime.h * include/stdlib.h: Use libc_hidden_proto for qsort. 2002-08-03 22:26:33 +00:00
utmp.h
values.h
wchar.h Update. 2002-12-31 23:13:55 +00:00
wctype.h Update. 2002-12-06 23:38:01 +00:00
wordexp.h * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
xlocale.h