glibc/sysdeps/unix/sysv/linux
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
..
alpha Update. 2002-07-27 08:47:23 +00:00
arm Update. 2002-07-24 17:39:23 +00:00
bits 2002-07-31 Jeff Bailey <jbailey@gnu.org> 2002-07-31 23:30:24 +00:00
cris Update. 2002-01-07 09:33:53 +00:00
hppa Update. 2002-07-20 01:14:41 +00:00
i386 * sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>. 2002-08-02 03:32:24 +00:00
ia64 Update. 2002-07-27 08:47:23 +00:00
m68k Update. 2002-04-14 08:47:01 +00:00
mips Update. 2002-07-20 01:14:41 +00:00
net Correct references to ETHER_CRC_LEN. 2001-09-14 13:03:53 +00:00
netash Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netatalk Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netax25 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
neteconet Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netinet 2002-02-06 Roland McGrath <roland@frob.com> 2002-02-07 03:49:18 +00:00
netipx Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netpacket Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netrom Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netrose Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nfs
powerpc Update. 2002-05-30 23:35:59 +00:00
s390 Update. 2002-07-20 04:01:22 +00:00
scsi Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sh Update. 2001-09-25 03:04:41 +00:00
sparc Update. 2002-07-08 17:15:20 +00:00
sys * io/Makefile (routines): Add sendfile and sendfile64. 2002-06-05 08:56:41 +00:00
x86_64 Update. 2002-06-07 12:34:08 +00:00
a.out.h
accept.S
adjtime.c Update. 2002-07-25 08:19:59 +00:00
aio_sigqueue.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bind.S Update. 2002-05-15 00:22:23 +00:00
clock.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
cmsg_nxthdr.c Update. 2001-07-31 20:32:01 +00:00
configure Update. 2002-07-28 22:43:25 +00:00
configure.in Update. 2002-07-28 22:43:25 +00:00
connect.S Update. 2002-04-09 20:36:24 +00:00
device-nrs.h * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type 2001-07-21 05:13:40 +00:00
Dist
dl-brk.c Update. 2002-06-09 20:15:14 +00:00
dl-librecon.h Update. 2002-01-31 03:41:25 +00:00
dl-origin.c Update. 2002-03-01 09:44:29 +00:00
dl-osinfo.h Update. 2002-01-31 03:41:25 +00:00
dl-sbrk.c Update. 2002-06-09 20:15:14 +00:00
dl-sysdep.c Update. 2001-07-12 06:32:02 +00:00
errlist.c Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong alias. 2002-05-20 06:56:53 +00:00
errlist.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
errqueue.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
execve.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fd_to_filename.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fpathconf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstatfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstatvfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstatvfs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ftime.c
ftruncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fxstat64.c Update. 2002-04-14 08:47:01 +00:00
fxstat.c Update. 2002-04-19 08:00:18 +00:00
gai_sigqueue.c Update. 2001-08-17 07:51:36 +00:00
getclktck.c Update. 2002-01-31 03:41:25 +00:00
getcwd.c Update. 2002-07-20 01:14:41 +00:00
getdents64.c
getdents.c Update. 2002-06-22 05:58:14 +00:00
getdirentries64.c
getdirentries.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getdtsz.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethostid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getloadavg.c Update. 2001-12-31 17:46:59 +00:00
getpagesize.c Update. 2002-04-14 08:47:01 +00:00
getpeername.S
getpriority.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsockname.S Update. 2002-05-15 00:22:23 +00:00
getsockopt.S
getsysstats.c Update. 2001-07-17 08:32:35 +00:00
grantpt.c Update. 2002-07-20 01:14:41 +00:00
if_index.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ifreq.h Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'. 2002-07-24 22:56:44 +00:00
Implies
init-first.c Update. 2002-03-13 06:33:52 +00:00
internal_statvfs.c Update. 2002-07-20 01:14:41 +00:00
ipc_priv.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kernel_sigaction.h
kernel_stat.h
kernel_termios.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kernel-features.h (public_cALLOc): Check for overflow on multiplication. 2002-08-02 01:27:46 +00:00
ldd-rewrite.sed
lddlibc4.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ldsodefs.h Update. 2002-07-20 17:31:30 +00:00
linux_fsinfo.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
listen.S Update. 2002-05-15 00:22:23 +00:00
llseek.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lseek64.c
lxstat64.c Update. 2002-04-15 05:35:10 +00:00
lxstat.c Update. 2002-04-19 08:00:18 +00:00
Makefile * io/Makefile (routines): Add sendfile and sendfile64. 2002-06-05 08:56:41 +00:00
mmap64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgctl.c Update. 2002-07-20 01:14:41 +00:00
msgget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgrcv.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgsnd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nice.c Update. 2002-03-02 00:48:30 +00:00
ntp_gettime.c Update. 2002-07-25 08:19:59 +00:00
opendir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
opensock.c Update. 2002-07-24 11:51:16 +00:00
pathconf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
paths.h
poll.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pread64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pread.c Update. 2002-07-17 20:44:55 +00:00
profil.c
ptrace.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ptsname.c Update. 2002-03-13 06:33:52 +00:00
pwrite64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pwrite.c Update. 2002-07-17 20:44:55 +00:00
readahead.c Update. 2002-05-30 23:35:59 +00:00
readdir64_r.c
readdir64.c
readv.c Update. 2002-07-20 01:14:41 +00:00
reboot.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
recv.S
recvfrom.S Update. 2002-05-15 00:22:23 +00:00
recvmsg.S Update. 2002-05-15 00:22:23 +00:00
rt_sigaction.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigpending.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigprocmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigqueueinfo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigreturn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigsuspend.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigtimedwait.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_pread64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_pwrite64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sa_len.c Update. 2002-04-14 20:15:40 +00:00
semctl.c Update. 2002-05-15 06:02:35 +00:00
semget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
semop.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
send.S
sendmsg.S Update. 2002-05-15 00:22:23 +00:00
sendto.S Update. 2002-05-15 00:22:23 +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
sethostid.c
setsockopt.S Update. 2002-05-15 00:22:23 +00:00
shm_open.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shm_unlink.c
shmat.c Update. 2002-04-14 08:47:01 +00:00
shmctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shmdt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shmget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shutdown.S
sigaction.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
siglist.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
signal.c
sigpending.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigprocmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigqueue.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigreturn.c
sigset-cvt-mask.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigstack.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigsuspend.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigtimedwait.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigwaitinfo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sizes.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
socketcall.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
socketpair.S
speed.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
statfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
statvfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
statvfs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
syscalls.list Update. 2002-07-25 08:19:59 +00:00
sysctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
system.c
tcdrain.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcflow.c
tcflush.c
tcgetattr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcgetpgrp.c
tcsetattr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcsetpgrp.c
termio.h
testrtsig.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
truncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ttyname_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ttyname.c Update. 2002-03-13 08:59:47 +00:00
ualarm.c
ulimit.c Update. 2001-09-25 03:04:41 +00:00
umount2.S
umount.S
unlockpt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
updwtmp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
usleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ustat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
utmp_file.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions * io/Makefile (routines): Add sendfile and sendfile64. 2002-06-05 08:56:41 +00:00
vfork.c
wait3.c
wait.c
waitpid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
writev.c Update. 2002-07-20 01:14:41 +00:00
xmknod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xstat64.c Update. 2002-02-01 23:24:05 +00:00
xstat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xstatconv.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00