glibc/sysdeps/unix
Roland McGrath d15851ec24 * include/atomic.h (atomic_increment_and_test): Invert sense of test.
Add comment.
	(atomic_decrement_and_test): Add comment.

2003-03-22  Jakub Jelinek  <jakub@redhat.com>

	* include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
	Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
	(atomic_compare_and_exchange_bool_acq): Add comment.  Don't use
	__oldval variable in the macro, since it might be macro argument.
	(atomic_decrement_if_positive): Initialize __memp, remove setting
	of non-existent variable.
	(atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
	* sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
	using atomic_compare_and_exchange_val_acq.
	(atomic_decrement_if_positive, atomic_bit_test_set): Define.
	* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
	Renamed from...
	(__arch_compare_and_exchange_bool_8_acq): ... this.
	(__arch_compare_and_exchange_val_16_acq): Renamed from...
	(__arch_compare_and_exchange_bool_16_acq): ... this.
	(__arch_compare_and_exchange_val_32_acq): Return old value.  Renamed
	from...
	(__arch_compare_and_exchange_bool_32_acq): ... this.
	(__arch_compare_and_exchange_val_64_acq): Return old value.  Renamed
	from...
	(__arch_compare_and_exchange_bool_64_acq): ... this.
	(__arch_compare_and_exchange_val_32_acq): Use __typeof for local
	variables types instead of assuming int.
	Change prefix of local variables to __arch.
	* sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
	Remove.
	(atomic_compare_and_exchange_val_acq,
	atomic_compare_and_exchange_bool_acq): Define.

	* csu/tst-atomic.c: New test.
	* csu/tst-atomic-long.c: New test.
	* csu/Makefile (tests): Add tst-atomic and tst-atomic-long.

	* malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.

	* sysdeps/s390/Versions: Add trailing newline.

	* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
	if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
2003-03-22 23:01:01 +00:00
..
alpha 2003-01-21 Jakub Jelinek <jakub@redhat.com> 2003-01-22 02:07:54 +00:00
arm Update. 2003-01-08 00:22:00 +00:00
bsd Update. 2002-12-31 20:46:11 +00:00
common 2003-02-23 Roland McGrath <roland@redhat.com> 2003-02-24 03:51:24 +00:00
i386 Update. 2002-12-31 20:46:11 +00:00
inet Remove __GI_* aliases, already added by make-syscalls.sh. 2003-01-31 03:40:10 +00:00
mips * sysdeps/mips/mips64/Implies: Move wordsize-64 to... * sysdeps/mips/mips64/n64/Implies: New file. * sysdeps/mips/mips64/n64/Makefile: New file. * sysdeps/mips/mips64/n64/el/bits/endian.h: New file. * sysdeps/mips/mips64/n32/Implies: New file. * sysdeps/mips/mips64/n32/Makefile: New file. * sysdeps/mips/mips64/n32/el/bits/endian.h: New file. * sysdeps/unix/mips/mips64/n32/sysdep.h: New file. * sysdeps/unix/mips/mips64/n64/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file. * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file. 2003-03-17 16:20:44 +00:00
mman Update. 2002-12-15 01:00:22 +00:00
powerpc * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros. 2002-09-20 23:46:03 +00:00
sh
sparc Update. 2002-12-31 20:46:11 +00:00
sysv * include/atomic.h (atomic_increment_and_test): Invert sense of test. 2003-03-22 23:01:01 +00:00
x86_64 * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
_exit.S 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:11 +00:00
alarm.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
clock_gettime.c Update. 2003-03-16 10:16:43 +00:00
clock_nanosleep.c Update. 2003-03-03 04:57:09 +00:00
clock_settime.c Update. 2003-03-16 10:16:43 +00:00
closedir.c (__closedir): Remove __libc_lock_lock call. It is not allowed to destroy pthread mutexes which are still in use even though it is safe for our implementations. If somebody still uses the descriptor it is a bug. 2002-12-10 09:59:25 +00:00
configure Regenerated: autoconf sysdeps/unix/configure.in 2002-11-24 17:39:46 +00:00
configure.in 2002-10-18 Jeff Bailey <jbailey@gnu.org> 2002-10-18 19:38:06 +00:00
confstr.h
dirfd.c
dirstream.h
Dist Update. 2003-02-21 07:07:52 +00:00
errnos-tmpl.c
errnos.awk
execve.S
fork.S Update. 2002-12-31 20:46:11 +00:00
fxstat.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
getdents.c
getegid.S
geteuid.S
getlogin_r.c Jakub Jelinek <jakub@redhat.com> 2002-10-16 03:03:00 +00:00
getlogin.c
getpagesize.c Update. 2002-08-03 07:02:10 +00:00
getppid.S
grantpt.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
Implies
ioctls-tmpl.c
ioctls.awk
make_errlist.c
make-syscalls.sh * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for 2003-03-10 09:11:13 +00:00
Makefile * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for 2003-03-10 09:11:13 +00:00
mk-local_lim.c
mkdir.c
mkfifo.c
nice.c (nice): Use getpriority() for the return value. 2002-09-28 19:13:13 +00:00
opendir.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
readdir_r.c * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno 2002-08-28 03:26:52 +00:00
readdir.c * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno 2002-08-28 03:26:52 +00:00
rewinddir.c
rmdir.c
s-proto-bp.S * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. 2003-01-15 22:10:10 +00:00
s-proto-cancel.S * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d. 2002-12-30 00:12:56 +00:00
s-proto.S
seekdir.c
siglist.c Update. 2002-08-04 23:32:14 +00:00
snarf-ioctls
sockatmark.c
start.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
stime.c
Subdirs
syscall.S
syscalls.list Remove __GI_* aliases, already added by make-syscalls.sh. 2003-01-31 03:40:10 +00:00
sysdep.h
system.c
telldir.c
time.c * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
utime.c Update. 2002-08-08 07:53:36 +00:00
xmknod.c Update. 2002-08-04 09:27:27 +00:00
xstat.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00