glibc/sysdeps/unix/sysv/linux/i386
Roland McGrath c2afe83352 * sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>.
[USE_TLS && HAVE___THREAD]: Just include the sysdeps/generic file,
	which does the right thing when __thread support is available.
	* descr.h (struct _pthread_descr_struct) [USE_TLS && HAVE___THREAD]:
	Omit `p_libc_specific', `p_errnop', `p_errno', `p_h_errnop',
	`p_h_errno', `p_resp', and `p_res' members.
	* pthread.c (__pthread_initialize_minimal) [USE_TLS && HAVE___THREAD]:
	Don't initialize `p_errnop' and `p_h_errnop' members.
	(__pthread_reset_main_thread): Likewise.
	(__pthread_initialize_manager): Likewise.
	* manager.c (__pthread_manager, pthread_handle_create): Likewise.
	* pthread.c (pthread_initialize) [USE_TLS && HAVE___THREAD]:
	Don't initialize `p_resp' member.
	(__pthread_reset_main_thread): Likewise.
	* manager.c (pthread_handle_create): Likewise.
	* specific.c (libc_internal_tsd_set, libc_internal_tsd_get):
	Conditionalize these on [!(USE_TLS && HAVE___THREAD)].
	* errno.c [USE_TLS && HAVE___THREAD]
	(__h_errno_location, __res_state): Don't define these at all.

	* sysdeps/i386/tls.h (INSTALL_DTV): Add parens around arguments!
	(INSTALL_NEW_DTV, GET_DTV): Likewise.
	* sysdeps/sh/tls.h (INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV): Likewise.

	* weaks.c: Don't include <errno.h> here.

2002-08-01  Roland McGrath  <roland@redhat.com>

	* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): New macro, broken out of
	TLS_INIT_TP.
	(TLS_DO_SET_THREAD_AREA): New macro, uses thread_set_area syscall.
	(TLS_SETUP_GS_SEGMENT): New macro, try one or the other or both.
	(TLS_INIT_TP): Use that.
2002-08-02 03:32:24 +00:00
..
bits Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
i686 Update. 2002-07-20 01:14:41 +00:00
sys Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
alphasort64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
brk.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
chown.c Update. 2002-04-09 20:36:24 +00:00
clone.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Dist Update. 2002-02-01 19:13:09 +00:00
dl-librecon.h Update. 2002-01-31 03:41:25 +00:00
dl-procinfo.c Update. 2002-02-01 07:49:47 +00:00
dl-procinfo.h Update. 2002-02-01 07:49:47 +00:00
fchown.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fcntl.c Update. 2002-04-14 20:15:40 +00:00
fxstat.c Update. 2002-04-14 08:47:01 +00:00
get_clockfreq.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getcontext.S Update. 2001-07-31 20:57:24 +00:00
getdents64.c Update. 2002-03-11 10:28:31 +00:00
getegid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
geteuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getgid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getgroups.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getmsg.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpmsg.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getresgid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getresuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrlimit64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrlimit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
glob64.c
lchown.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ldconfig.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lockf64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lxstat.c Update. 2002-04-15 05:35:10 +00:00
makecontext.S Update. 2001-07-31 20:32:01 +00:00
Makefile 2002-03-23 Roland McGrath <roland@frob.com> 2002-03-24 01:55:18 +00:00
mmap64.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mmap.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
olddirent.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldgetrlimit64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
profil-counter.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putmsg.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putpmsg.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
readdir64_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
readdir64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
readelflib.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
register-dump.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
scandir64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
semctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setcontext.S Update. 2001-07-31 20:57:24 +00:00
setegid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
seteuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setfsgid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setfsuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setgid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setgroups.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setregid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setresgid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setresuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setreuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setrlimit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shmctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigaction.c Update. 2001-07-07 22:59:32 +00:00
sigcontextinfo.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
socket.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
swapcontext.S Update. 2001-07-31 20:57:24 +00:00
syscall.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
syscalls.list
sysdep.h * sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>. 2002-08-02 03:32:24 +00:00
sysdep.S Update. 2002-07-20 01:14:41 +00:00
ucontext_i.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions Update. 2002-02-01 23:24:05 +00:00
versionsort64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
vfork.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xstat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00