glibc/sysdeps/unix/sysv/linux/i386
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 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 Update. 2001-02-13 22:17:17 +00:00
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 Update. 2000-06-13 07:33:12 +00:00
sysdep.h Update. 2002-07-20 01:14:41 +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