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
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
netash
netatalk
netax25
neteconet
netinet 2002-02-06 Roland McGrath <roland@frob.com> 2002-02-07 03:49:18 +00:00
netipx
netpacket
netrom
netrose
nfs
powerpc Update. 2002-05-30 23:35:59 +00:00
s390 Update. 2002-07-20 04:01:22 +00:00
scsi
sh
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
bind.S Update. 2002-05-15 00:22:23 +00:00
clock.c
cmsg_nxthdr.c
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
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
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
errqueue.h
execve.c
fd_to_filename.h
fpathconf.c
fstatfs64.c
fstatvfs64.c
fstatvfs.c
ftime.c
ftruncate64.c
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
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
getdtsz.c
gethostid.c
getloadavg.c
getpagesize.c Update. 2002-04-14 08:47:01 +00:00
getpeername.S
getpriority.c
getpt.c
getsockname.S Update. 2002-05-15 00:22:23 +00:00
getsockopt.S
getsysstats.c
grantpt.c Update. 2002-07-20 01:14:41 +00:00
if_index.c
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
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
kernel-features.h (public_cALLOc): Check for overflow on multiplication. 2002-08-02 01:27:46 +00:00
ldd-rewrite.sed
lddlibc4.c
ldsodefs.h Update. 2002-07-20 17:31:30 +00:00
linux_fsinfo.h
listen.S Update. 2002-05-15 00:22:23 +00:00
llseek.c
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
msgctl.c Update. 2002-07-20 01:14:41 +00:00
msgget.c
msgrcv.c
msgsnd.c
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
opensock.c Update. 2002-07-24 11:51:16 +00:00
pathconf.c
paths.h
poll.c
pread64.c
pread.c Update. 2002-07-17 20:44:55 +00:00
profil.c
ptrace.c
ptsname.c Update. 2002-03-13 06:33:52 +00:00
pwrite64.c
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
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
rt_sigpending.c
rt_sigprocmask.c
rt_sigqueueinfo.c
rt_sigreturn.c
rt_sigsuspend.c
rt_sigtimedwait.c
s_pread64.c
s_pwrite64.c
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
semop.c
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
seteuid.c
sethostid.c
setsockopt.S Update. 2002-05-15 00:22:23 +00:00
shm_open.c
shm_unlink.c
shmat.c Update. 2002-04-14 08:47:01 +00:00
shmctl.c
shmdt.c
shmget.c
shutdown.S
sigaction.c
siglist.h
signal.c
sigpending.c
sigprocmask.c
sigqueue.c
sigreturn.c
sigset-cvt-mask.h
sigstack.c
sigsuspend.c
sigtimedwait.c
sigwaitinfo.c
sizes.h
sleep.c
socketcall.h
socketpair.S
speed.c
statfs64.c
statvfs64.c
statvfs.c
syscalls.list Update. 2002-07-25 08:19:59 +00:00
sysctl.c
system.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsetattr.c
tcsetpgrp.c
termio.h
testrtsig.h
truncate64.c
ttyname_r.c
ttyname.c Update. 2002-03-13 08:59:47 +00:00
ualarm.c
ulimit.c
umount2.S
umount.S
unlockpt.c
updwtmp.c
usleep.c
ustat.c
utmp_file.c
Versions * io/Makefile (routines): Add sendfile and sendfile64. 2002-06-05 08:56:41 +00:00
vfork.c
wait3.c
wait.c
waitpid.c
writev.c Update. 2002-07-20 01:14:41 +00:00
xmknod.c
xstat64.c Update. 2002-02-01 23:24:05 +00:00
xstat.c
xstatconv.c