glibc/sysdeps/unix/sysv/linux
Ulrich Drepper 739d440d2a Update.
2002-07-19  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Add test for __thread support in compiler.
	* config.h.in: Add HAVE___THREAD.
	* Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h.
	* include/sys/errno.h: Moved to...
	* stdlib/sys/errno.h: ...here.  New file.
	* stdlib/errno.h: New file.  Moved from...
	* include/errno.h: ...here.  Changed into an internal header defining
	libc-local things like __set_errno.
	* stdlib/Makefile (headers): Add errno.h, sys/errno.h, and
	bits/errno.h.
	* elf/dl-minimal.c: Include <tls.h>.  Define errno as thread-local
	variable if USE_TLS && HAVE___THREAD.  Don't define __errno_location
	either.
	* elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so
	from...
	(_dl_start_final): ...here.  Add code to initialize tls elements from
	bootstrap_map.
	* sysdeps/generic/errno-loc.c: Define errno as thread-local variable
	if USE_TLS && HAVE___THREAD.
	* sysdeps/generic/bits/errno.h: Remove __set_errno definition.
	* sysdeps/mach/hurd/bits/errno.h: Likewise.
	* sysdeps/standalone/arm/bits/errno.h: Likewise.
	* sysdeps/standalone/bits/errno.h: Likewise.
	* sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
	* sysdeps/unix/sysv/aix/bits/errno.h: Likewise.
	* sysdeps/unix/sysv/hpux/bits/errno.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise.
	* sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't
	use GL(dl_rtld_map), use map parameter.
	* sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if
	USE_TLS && HAVE___THREAD.
	* sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG
	definitions.  If USE_TLS && HAVE___THREAD store errooor value using
	TLS code sequence.
	* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.

	* sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno.
	* sysdeps/unix/sysv/linux/grantpt.c: Likewise.
	* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
	* sysdeps/unix/sysv/linux/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/readv.c: Likewise.
	* sysdeps/unix/sysv/linux/writev.c: Likewise.
2002-07-20 01:14:41 +00:00
..
alpha Update. 2002-07-08 17:15:20 +00:00
arm Update. 2002-07-15 03:58:49 +00:00
bits Update. 2002-07-20 01:14:41 +00:00
cris Update. 2002-01-07 09:33:53 +00:00
hppa Update. 2002-07-20 01:14:41 +00:00
i386 Update. 2002-07-20 01:14:41 +00:00
ia64 Update. 2002-07-17 23:44:03 +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 Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> 1995-10-16 01:37:51 +00:00
powerpc Update. 2002-05-30 23:35:59 +00:00
s390 Update. 2002-07-11 21:44:15 +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 update from main archive 970121 1997-01-22 05:26:05 +00:00
accept.S Update. 1998-07-16 11:44:36 +00:00
adjtime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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-16 01:02:04 +00:00
configure.in Update. 2002-07-16 01:02:04 +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 Update. 2000-10-27 06:51:12 +00:00
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 Update. 1999-05-11 13:00:20 +00:00
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 Update. 2000-08-17 19:36:13 +00:00
getdents.c Update. 2002-06-22 05:58:14 +00:00
getdirentries64.c Update. 2000-08-12 05:14:52 +00:00
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 update from main archive 970225 1997-02-25 05:18:05 +00:00
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 update from main archive 970225 1997-02-25 05:18:05 +00:00
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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Implies Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com> 1996-05-22 02:11:55 +00:00
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 Update. 1999-10-19 03:14:36 +00:00
kernel_stat.h Update. 2000-08-12 05:14:52 +00:00
kernel_termios.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kernel-features.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ldd-rewrite.sed Update. 1998-08-24 16:46:16 +00:00
lddlibc4.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ldsodefs.h Update. 2002-02-24 08:34:04 +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 Update. 1997-10-12 04:05:44 +00:00
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 to LGPL v2.1. 2001-07-06 04:58:11 +00:00
opendir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
opensock.c Include <string.h>. 2001-12-07 15:39:30 +00:00
pathconf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
paths.h Update. 2000-11-15 23:56:34 +00:00
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 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-13 17:30:42 +00:00
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 Update. 2000-08-19 16:58:09 +00:00
readdir64.c Update. 2000-08-19 16:58:09 +00:00
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 Update. 1998-01-21 17:04:36 +00:00
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 Update. 1998-01-21 17:04:36 +00:00
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 Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
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 Update. 2000-04-12 04:59:33 +00:00
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 update from main archive 970225 1997-02-25 05:18:05 +00:00
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 update from main archive 961229 1996-12-30 01:47:46 +00:00
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 Update. 1997-12-14 22:24:57 +00:00
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 update from main archive 970225 1997-02-25 05:18:05 +00:00
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-06-20 22:48:53 +00:00
sysctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
system.c Use POSIX version of version.c. 1996-09-12 18:29:32 +00:00
tcdrain.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcflow.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
tcflush.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
tcgetattr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcgetpgrp.c Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-18 18:32:47 +00:00
tcsetattr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcsetpgrp.c Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-18 18:32:47 +00:00
termio.h * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers): 1996-05-27 20:16:19 +00:00
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 Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
ulimit.c Update. 2001-09-25 03:04:41 +00:00
umount2.S Update. 1998-08-20 19:16:48 +00:00
umount.S Update. 1998-08-20 19:16:48 +00:00
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 Update. 1999-01-20 11:36:34 +00:00
wait3.c Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1996-03-21 00:37:31 +00:00
wait.c Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1996-03-21 00:37:31 +00:00
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