glibc/sysdeps/unix/sysv/aix
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
..
bits Update. 2002-07-20 01:14:41 +00:00
gnu Update. 2000-03-21 01:29:48 +00:00
net Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
powerpc Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sys Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
_exit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
accept.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
access.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bind.c Add EAFNOSUPPORT. 2000-04-17 21:18:22 +00:00
brk.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
chdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
chmod.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
chroot.c AIX msgget implementation. 2000-04-17 23:11:32 +00:00
close.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
configure Update. 2000-03-21 01:29:48 +00:00
configure.in Update. 2000-03-21 01:29:48 +00:00
connect.c Update. 2002-04-09 20:36:24 +00:00
creat.c AIX msgget implementation. 2000-04-17 23:11:32 +00:00
Dist Update. 2002-01-08 22:00:09 +00:00
dl-addr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dl-close.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dl-error.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dl-libc.c Update. 2001-07-08 07:17:00 +00:00
dl-open.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dl-support.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dl-sym.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dlldr.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
environ.c Update. 2000-03-21 01:29:48 +00:00
euidaccess.c 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
fchdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fchmod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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
fdatasync.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fork.c Update. 2002-06-20 22:48:53 +00:00
fstatfs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fsync.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ftruncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ftruncate.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-14 08:47:01 +00:00
getdents.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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
gethostname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpeername.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpgid.c Update. 2002-04-14 08:47:01 +00:00
getpgrp.c Update. 2000-03-21 01:29:48 +00:00
getpid.c Update. 2000-03-21 01:29:48 +00:00
getppid.c Update. 2000-03-21 01:29:48 +00:00
getpriority.c AIX msgget implementation. 2000-04-17 23:11:32 +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
getrusage.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsockname.c Update. 2002-05-15 00:22:23 +00:00
gettimeofday.c Update. 2002-04-14 09:14:45 +00:00
getuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Implies Implies file for AIX. 2000-04-17 21:07:29 +00:00
init-first.c Update. 2002-03-13 06:33:52 +00:00
ioctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kernel_proto.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kill.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lchown.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
libc-start.c Update. 2002-02-01 01:33:04 +00:00
link.c 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
lockf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lseek64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lseek.c Update. 2000-12-05 04:18:59 +00:00
lxstat64.c Update. 2002-04-15 05:35:10 +00:00
lxstat.c Update. 2002-04-15 05:35:10 +00:00
madvise.c AIX msgget implementation. 2000-04-17 23:11:32 +00:00
Makefile Update. 2001-09-08 17:45:32 +00:00
mkdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mknod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mmap64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mmap.c Update. 2000-03-21 01:29:48 +00:00
mprotect.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgctl.c AIX msgget implementation. 2000-04-17 23:11:32 +00:00
msgget.c AIX msgget implementation. 2000-04-17 23:11:32 +00:00
msgrcv.c AIX msgrcv implementation. 2000-04-18 00:42:45 +00:00
msgsnd.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
msync.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
munmap.c Update. 2000-03-21 01:29:48 +00:00
nanosleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
open.c Update. 2002-04-14 20:15:40 +00:00
pipe.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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 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
read.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
readlink.c Update. 2000-03-21 01:29:48 +00:00
readv.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
recv.c Update. 2001-07-08 07:17:00 +00:00
recvfrom.c Update. 2002-05-15 00:22:23 +00:00
recvmsg.c Update. 2002-05-15 00:22:23 +00:00
rename.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
revoke.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rmdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sbrk.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sched_yield.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
select.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
semctl.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
semget.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
semop.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
sendmsg.c Update. 2002-05-15 00:22:23 +00:00
sendto.c AIX socket implementation. 2000-04-18 17:20:43 +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
setgid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setgroups.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
setitimer.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setpgid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setpgrp.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
setpriority.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
setregid.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
setrlimit64.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
setsid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setsockopt.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
setuid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shmat.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
shmctl.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
shmdt.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
shmget.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
sigaction.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigaltstack.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
sigpending.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigprocmask.c Update. 2000-03-21 01:29:48 +00:00
sigset-cvt-mask.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigstack.c AIX socket implementation. 2000-04-18 17:20:43 +00:00
sigsuspend.c 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
socket.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
socketpair.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
speed.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
start-libc.c Update. 2002-02-01 01:33:04 +00:00
start.s Update. 2001-09-08 17:45:32 +00:00
statfs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
symlink.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sync.c AIX tcsetattr implementation. 2000-04-18 17:33:41 +00:00
syscall.c Update. 2000-03-21 01:29:48 +00:00
sysdep.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sysv_termio.h Update. 2001-09-08 17:45:32 +00:00
tcgetattr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcsetattr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
times.c 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
truncate.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
uitrunc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ulimit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
umask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
uname.c Update. 2000-03-21 01:29:48 +00:00
unlink.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. 2000-04-18 17:42:52 +00:00
utimes.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
utmpx.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions Add EAFNOSUPPORT. 2000-04-17 21:18:22 +00:00
wait3.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wait4.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
waitid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
waitpid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
write.c Update. 2002-04-15 05:35:10 +00:00
writev.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xstat64.c 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