glibc/sysdeps/unix/sysv/linux
Ulrich Drepper aff4519d38 Update.
2003-01-11  Jim Meyering  <jim@meyering.net>

	* io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
	[HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
	Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
	[!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
	[!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
	[!_LIBC] (internal_function, dirent64, MAX): Define.
	(__set_errno): Define if not already defined.
	(open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
	the basename, not the entire file name.
	(process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
	the basename, not the entire file name.

2003-01-12  Ulrich Drepper  <drepper@redhat.com>

	* string/tester.c (test_strcpy): Disable last added strcpy until
	it is fixed.

2003-01-11  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.

2003-01-11  Andreas Schwab  <schwab@suse.de>

	* Makerules: Add vpath for %.dynsym and %.so so that the
	implicit rule chaining for check-abi works.

2003-01-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
	Add non-PIC case.

2003-01-11  Jakub Jelinek  <jakub@redhat.com>

	* elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
	[__ia64__] (TLS_LE, TLS_IE): Fix typos.  Add ;; at start of asm if
	gp is used early.
	[__ia64__] (TLS_LD, TLS_GD): Likewise.  Use __TLS_CALL_CLOBBERS.
	* elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
	Ensure libc.so in DT_NEEDED.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
	CHECK_STATIC_TLS before l_tls_offset use.
	* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
	Likewise.
	* sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
	Allocate TLS_PRE_TCB_SIZE bytes below result.
	(_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
	* sysdeps/generic/libc-tls.c (__libc_setup_tls): If
	TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
	segment has been found.  If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
	bytes below result and add tcb_offset to memsz.
	* sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
	* sysdeps/ia64/dl-machine.h: Include tls.h.
	(elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
	too.
	(elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
	Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
	* sysdeps/ia64/libc-tls.c: New file.

2003-01-10  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
	* sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
	Fix type.  Move definition out of #if.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
	support.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
	ftruncate64, pread64, pwrite64, truncate64 entries.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
	(INLINE_SYSCALL): New version that supports function call like
	syscalls.  Add __builtin_expect.
	(LOADARGS_n): Add argument size safety checks.
	(INTERNAL_SYSCALL): New Macro.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
	redefinition of elf_fpreg_t and elf_fpregset_t.

2003-01-12  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-close.c (_dl_close): Add several asserts.  Correct and
	simplify test for unloading.  If loader of a DSO is unloaded do not
	use its scope anymore.  Fall back to own scope and adjust opencounts.
	Fix several comments.
	* elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
	the l_searchlist, not only for l_initfini.

	* elf/dl-lookup.c (add_dependencies): Avoid creating relocation
	dependencies if objects cannot be removed.  Remove object with the
	definition as not unloadable if necessary.

	* elf/reldep6.c: Create relocation dependency before closing the first
	module.

2003-01-10  Guido Günther  <agx@sigxcpu.org>
	* elf/Makefile: Add rules to build and run reldep9 test.
	* elf/reldep9.c: New file.
	* elf/reldep9mod1.c: New file.
	* elf/reldep9mod2.c: New file.
	* elf/reldep9mod3.c: New file.

2003-01-09  Jakub Jelinek  <jakub@redhat.com>

	* elf/Makefile: Add rules to build and run nodelete2 test.
	* elf/nodelete2.c: New file.
	* elf/nodel2mod1.c: New file.
	* elf/nodel2mod2.c: New file.
	* elf/nodel2mod3.c: New file.

2003-01-09  Jakub Jelinek  <jakub@redhat.com>
2003-01-12 10:11:16 +00:00
..
alpha Update. 2003-01-08 00:22:00 +00:00
arm Update. 2003-01-12 10:11:16 +00:00
bits Update. 2002-12-31 00:06:24 +00:00
cris Update. 2002-12-31 20:46:11 +00:00
hppa Update. 2002-12-31 20:46:11 +00:00
i386 Update. 2003-01-09 04:19:03 +00:00
ia64 Update. 2003-01-09 04:19:03 +00:00
m68k * sysdeps/unix/sysv/linux/m68k/getsysstats.c: New file. 2003-01-10 15:36:43 +00:00
mips Update. 2003-01-03 01:35:14 +00:00
net Update. 2002-10-03 08:58:56 +00:00
netash
netatalk
netax25
neteconet
netinet
netipx
netpacket
netrom
netrose
nfs
powerpc Update. 2003-01-12 10:11:16 +00:00
s390 Update. 2003-01-09 04:19:03 +00:00
scsi
sh Update. 2003-01-12 10:11:16 +00:00
sparc Update. 2003-01-09 04:19:03 +00:00
sys Update. 2002-12-16 23:38:42 +00:00
x86_64 Update. 2003-01-09 04:19:03 +00:00
_exit.c Update. 2002-10-03 16:37:04 +00:00
a.out.h
accept.S Update. 2002-12-31 20:46:11 +00:00
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 * sysdeps/hppa/fpu/libm-test-ulps: New file (generated). 2002-11-19 06:41:14 +00:00
configure.in * sysdeps/hppa/fpu/libm-test-ulps: New file (generated). 2002-11-19 06:41:14 +00:00
connect.S Update. 2002-12-15 10:26:23 +00:00
device-nrs.h
Dist Update. 2002-12-16 23:38:42 +00:00
dl-brk.c Update. 2002-06-09 20:15:14 +00:00
dl-librecon.h 2002-12-10 Roland McGrath <roland@redhat.com> 2002-12-10 10:30:54 +00:00
dl-origin.c
dl-osinfo.h * sysdeps/generic/libc-start.c (__libc_start_main): Do 2002-12-01 22:14:57 +00:00
dl-sbrk.c Update. 2002-06-09 20:15:14 +00:00
dl-sysdep.c
errqueue.h
execve.c Don't try calling __pthread_kill_other_threads_np. 2002-10-11 07:59:08 +00:00
exit-thread.S Update. 2002-09-15 02:37:32 +00:00
fd_to_filename.h
fexecve.c Update. 2002-12-06 23:38:01 +00:00
fpathconf.c * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
fstatfs64.c
fstatvfs64.c
fstatvfs.c Update. 2002-09-21 05:54:00 +00:00
ftime.c
ftruncate64.c
fxstat64.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
fxstat.c 2002-10-02 Roland McGrath <roland@redhat.com> 2002-10-02 08:33:46 +00:00
gai_sigqueue.c
getclktck.c
getcwd.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
getdents64.c
getdents.c Update. 2002-12-30 02:31:19 +00:00
getdirentries64.c
getdirentries.c
getdtsz.c
gethostid.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
getloadavg.c
getpagesize.c Update. 2002-08-03 07:02:10 +00:00
getpeername.S
getpriority.c * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
getpt.c
getsockname.S Update. 2002-05-15 00:22:23 +00:00
getsockopt.S
getsysstats.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
grantpt.c Update. 2002-07-20 01:14:41 +00:00
if_index.c * include/sys/wait.h (__waitpid): Add libc_hidden_proto. 2002-08-13 01:08:15 +00:00
ifreq.h * sysdeps/generic/ifreq.h (__if_nextreq): New function. 2002-09-20 20:34:06 +00:00
Implies
init-first.c * sysdeps/generic/libc-start.c (__libc_start_main): Do 2002-12-01 22:14:57 +00:00
internal_statvfs.c Update. 2002-09-21 05:54:00 +00:00
ipc_priv.h
kernel_sigaction.h
kernel_stat.h (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New. 2003-01-01 19:56:23 +00:00
kernel_termios.h
kernel-features.h * sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which 2003-01-10 14:09:38 +00:00
ldd-rewrite.sed
lddlibc4.c
ldsodefs.h Update. 2002-07-20 17:31:30 +00:00
libc_fatal.c Update. 2002-12-15 11:24:42 +00:00
linux_fsinfo.h * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
listen.S Update. 2002-05-15 00:22:23 +00:00
llseek.c Update. 2002-12-15 10:26:23 +00:00
lseek64.c
lxstat64.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
lxstat.c 2002-10-02 Roland McGrath <roland@redhat.com> 2002-10-02 08:33:46 +00:00
Makefile Update. 2002-12-16 23:38:42 +00:00
mmap64.c * string/test-strspn.c (do_test): Ensure zero termination. 2002-11-09 00:36:21 +00:00
msgctl.c Update. 2002-07-20 01:14:41 +00:00
msgget.c
msgrcv.c Update. 2002-12-15 10:26:23 +00:00
msgsnd.c Update. 2002-12-15 10:26:23 +00:00
nice.c
ntp_gettime.c Update. 2002-07-25 08:19:59 +00:00
open64.c Update. 2002-12-15 10:26:23 +00:00
opendir.c
opensock.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
pathconf.c * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
pathconf.h * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
paths.h
poll.c Update. 2002-12-15 10:26:23 +00:00
pread64.c Update. 2002-12-15 10:26:23 +00:00
pread.c Update. 2002-12-15 10:26:23 +00:00
profil.c
ptrace.c
ptsname.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
pwrite64.c Update. 2002-12-15 10:26:23 +00:00
pwrite.c Update. 2002-12-15 10:26:23 +00:00
readahead.c Update. 2002-05-30 23:35:59 +00:00
readdir64_r.c
readdir64.c
readv.c 2002-12-15 Roland McGrath <roland@redhat.com> 2002-12-15 23:22:47 +00:00
reboot.c
recv.S Update. 2002-12-15 10:26:23 +00:00
recvfrom.S Update. 2002-12-15 10:26:23 +00:00
recvmsg.S Update. 2002-12-15 10:26: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
segfault.c Update. 2002-11-03 08:52:36 +00:00
semctl.c Update. 2002-05-15 06:02:35 +00:00
semget.c
semop.c
send.S Update. 2002-12-15 10:26:23 +00:00
sendmsg.S Update. 2002-12-15 10:26:23 +00:00
sendto.S Update. 2002-12-15 10:26:23 +00:00
setegid.c 2002-08-13 Jakub Jelinek <jakub@redhat.com> 2002-08-13 00:22:49 +00:00
seteuid.c 2002-08-13 Jakub Jelinek <jakub@redhat.com> 2002-08-13 00:22:49 +00:00
sethostid.c
setsockopt.S Update. 2002-05-15 00:22:23 +00:00
shm_open.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
shm_unlink.c
shmat.c * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call 2002-09-03 02:45:12 +00:00
shmctl.c
shmdt.c
shmget.c
shutdown.S
sigaction.c Update. 2003-01-03 01:35:14 +00:00
siglist.h * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove. 2002-11-01 20:48:37 +00:00
signal.c
sigpending.c
sigprocmask.c
sigqueue.c
sigreturn.c
sigset-cvt-mask.h 2002-09-04 Bruno Haible <bruno@clisp.org> 2002-09-05 18:52:18 +00:00
sigstack.c
sigsuspend.c Update. 2002-12-15 10:26:23 +00:00
sigtimedwait.c Update. 2002-12-15 10:26:23 +00:00
sigwait.c Update. 2003-01-09 04:19:03 +00:00
sigwaitinfo.c Update. 2002-12-15 10:26:23 +00:00
sizes.h
sleep.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
socketcall.h
socketpair.S
speed.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
statfs64.c
statvfs64.c
statvfs.c Update. 2002-09-21 05:54:00 +00:00
syscalls.list Update. 2002-12-31 11:12:11 +00:00
sysctl.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
system.c
tcdrain.c Update. 2002-12-15 10:26:23 +00:00
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsetattr.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
tcsetpgrp.c
termio.h
testrtsig.h
truncate64.c
ttyname_r.c
ttyname.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
ualarm.c
ulimit.c
umount2.S
umount.S
unlockpt.c
updwtmp.c
usleep.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
ustat.c
utmp_file.c
Versions Update. 2002-12-16 23:38:42 +00:00
vfork.c
wait3.c
wait.c * sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn. 2002-12-15 23:23:24 +00:00
waitpid.c * sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn. 2002-12-15 23:23:24 +00:00
writev.c Update. 2002-12-15 10:26:23 +00:00
xmknod.c Update. 2002-08-04 09:27:27 +00:00
xstat64.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
xstat.c 2002-10-02 Roland McGrath <roland@redhat.com> 2002-10-02 08:33:46 +00:00
xstatconv.c (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New. 2003-01-01 19:56:23 +00:00