Commit Graph

296 Commits

Author SHA1 Message Date
Ulrich Drepper
4f6f0a8fcf Update.
2003-03-03  Ulrich Drepper  <drepper@redhat.com>

	* include/sched.h (__clone2): Use ... instead of adding all the
	new parameters.
2003-03-03 22:02:13 +00:00
Ulrich Drepper
be095ffaf4 (pthread_rwlock_timedwrlock): Fix clobber of result variable by lll_futex_timed_wait call. 2003-03-03 21:26:07 +00:00
Ulrich Drepper
7ce5c1640c Update.
2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* atomic.h (atomic_exchange_and_add): Return newval, not oldval.

	* sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait):
	Fix handling of cancellation and failing pthread_mutex_unlock call.
	* sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Likewise.
	(__pthread_cond_wait): Likewise.

	* sysdeps/pthread/pthread_rwlock_timedrdlock.c
	(pthread_rwlock_timedrdlock): Fix clobber of result variable by
	lll_futex_timed_wait call.
	* sysdeps/pthread/pthread_rwlock_timedwrlock.c
	(pthread_rwlock_timedwrlock): Likewise.

	* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock):
	Don't define lll_unlock_wake_cb and ___lll_timedwait_tid in libc.so.
	* sysdeps/unix/sysv/linux/s390/lowlevellock.c: Remove XXX comments.

	* sysdeps/unix/sysv/linux/s390/sem_post.c (__new_sem_post): Fix
	check of lll_futex_wake return value.
2003-03-03 21:11:12 +00:00
Roland McGrath
ea6a015bd7 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
* sysdeps/ia64/dl-machine.h: Update decl.
2003-03-03 08:44:46 +00:00
Roland McGrath
83f2fcbe7b 2003-03-03 Roland McGrath <roland@redhat.com>
* forward.c: Fix typo in __pthread_attr_init_2_0 compat_symbol decl.
2003-03-03 08:43:31 +00:00
Ulrich Drepper
1be3d6642e Update.
* elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
2003-03-03 07:31:25 +00:00
Ulrich Drepper
5324b81cb3 (timer_create): Return correct error for CPU clocks. 2003-03-03 07:29:24 +00:00
Ulrich Drepper
885bafa14a Update.
2003-03-02  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
	* sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
	if not already defined.  Use SYSDEP_GETRES to allow other files to
	provide alternative implementations.
	* sysdeps/unix/sysv/linux/clock_getres.c: New file
	* sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
	if not already defined.  Use SYSDEP_GETTIME to allow other files to
	provide alternative implementations.
	* sysdeps/unix/sysv/linux/clock_gettime.c: New file.
	* sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
	if not already defined.  Use SYSDEP_GETTIME to allow other files to
	provide alternative implementations.
	* sysdeps/unix/sysv/linux/clock_settime.c: New file.
	* sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
	other files to provide alternative implementations.  Rearrange
	tests for invalid parameters.
	* sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
	* sysdeps/unix/sysv/linux/sysconf.c: New file.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_POSIX_TIMERS for Linux 2.4.63 and up.
	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
	_POSIX_MONOTONIC_CLOCK.
2003-03-03 05:29:09 +00:00
Ulrich Drepper
e5497892bb Update.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-03-03 05:00:33 +00:00
Ulrich Drepper
4adacf579f Update.
2003-03-02  Ulrich Drepper  <drepper@redhat.com>

	* tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset
	recent kernels.
2003-03-03 01:20:35 +00:00
Ulrich Drepper
f6fbf49230 (tf_sleep): Lower sleep time a bit to not upset recent kernels. 2003-03-03 01:19:01 +00:00
Ulrich Drepper
816a5a6a69 Typo in comment. 2003-03-02 08:44:23 +00:00
Ulrich Drepper
86bfff4d52 Update.
2003-03-01  Ulrich Drepper  <drepper@redhat.com>

	* descr.h (struct pthread): Move cleanup field to the front.
2003-03-02 07:54:30 +00:00
Ulrich Drepper
748bec0865 Update.
* sysdeps/i386/tcb-offsets.sym: Add CLEANUP and CLEANUP_PREV.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Inline
	__pthread_cleanup_pop functionality.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2003-03-02 07:52:31 +00:00
Ulrich Drepper
78429f1231 Add CLEANUP and CLEANUP_PREV. 2003-03-02 07:49:51 +00:00
Roland McGrath
d114938564 * configure.in: In "running configure fragment for" message,
omit $srcdir from the name if we prepended it.
	* configure: Regenerated.
2003-03-01 22:40:30 +00:00
Ulrich Drepper
bd8bb78ba2 Update.
2003-03-01  Ulrich Drepper  <drepper@redhat.com>

	* descr.h (struct pthread): Move tid field to the front now that
	it is often used.

	* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S
	(__lll_mutex_timedlock_wait): Remove.
	(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S
	(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
	(lll_unlock_wake_cb): Don't save and restore %esi.
	(__lll_unlock_wake): Add alignment.  Don't save, load, and restore
	%esi.
	(__lll_timedwait_tid): Add alignment.
	* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
	(__lll_unlock_wake): Add alignment.  Don't save, load, and restore
	%esi.
	(__lll_timedwait_tid): Removed.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S
	(__pthread_cond_broadcast): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
	(pthread_barrier_wait): Don't save, load, and restore %esi for
	last thread.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
	(__pthread_cond_signal): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S
	(__pthread_rwlock_unlock): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__new_sem_post):
	Don't save, load, and restore %esi.
2003-03-01 09:45:23 +00:00
Ulrich Drepper
206a5cdea2 Update. 2003-02-28 03:47:32 +00:00
Ulrich Drepper
567fb22ae3 Update.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
	Release lock before waking up the waiters.
2003-02-27 23:45:12 +00:00
Ulrich Drepper
427f5fa1a4 Update.
2003-02-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
	code generation changes in recent gcc.
2003-02-27 22:29:25 +00:00
Ulrich Drepper
abeb300799 (do_test): Don't start more than one thread in parallel. 2003-02-27 21:48:41 +00:00
Ulrich Drepper
a2d83cfb21 Update.
* tst-rwlock9.c (writer_thread): Correct adding TIMEOUT.
	(reader_thread): Likewise.
2003-02-27 19:49:35 +00:00
Ulrich Drepper
d2637c7053 Update.
2003-02-24  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
	unwind info.
2003-02-27 10:32:38 +00:00
Ulrich Drepper
dbf6131c49 Update.
Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
2003-02-27 08:03:17 +00:00
Ulrich Drepper
d148ed257a Update.
2003-02-27  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
	except the PKTINFO.  Reset interface in PKTINFO.

	* elf/elf.h: Add new R_PPC64_* relocs for TLS.
	* elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
	Define.
	* sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2003-02-27 08:01:47 +00:00
Ulrich Drepper
695799feb3 Update.
* Makefile (tests): Add tst-dlsym1.
	* tst-dlsym1.c: New file.
2003-02-27 04:42:04 +00:00
Ulrich Drepper
b1531183c5 Update.
2003-02-26  Ulrich Drepper  <drepper@redhat.com>

	* init.c (__pthread_initialize_minimal_internal): Set
	GL(dl_error_catch_tsd) to __libc_dl_error_tsd.
	* Versions (libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.
2003-02-27 04:12:53 +00:00
Ulrich Drepper
d4a763f922 (libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd. 2003-02-27 04:09:48 +00:00
Ulrich Drepper
73983ece25 (sem_open): Only call __libc_close if file descriptor is valid. 2003-02-25 08:47:25 +00:00
Ulrich Drepper
3857ca787c Update.
* sem_open.c (sem_open): Fix handling of O_CREAT without O_EXCL.
2003-02-25 06:19:22 +00:00
Ulrich Drepper
80d807799f Update.
2003-02-24  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
	test.
2003-02-25 02:46:33 +00:00
Ulrich Drepper
8637130890 Update.
* tst-rwlock8.c (reader_thread): Remove unused variable.
2003-02-25 00:10:26 +00:00
Ulrich Drepper
fa05898776 (reader_thread): Remove unused variable. 2003-02-25 00:10:01 +00:00
Ulrich Drepper
20c54fe445 Bump to 0.26. 2003-02-24 10:05:02 +00:00
Ulrich Drepper
ffeb4481f4 Update.
* Makefile: Add rules to build and run tst-tls3.
	* tst-tls3.c: New file.
	* tst-tls3mod.c: New file.
2003-02-24 10:03:02 +00:00
Ulrich Drepper
18a535792b Update.
* sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise.
	* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise.
	* sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.
	* sysdeps/pthread/pthread_rwlock_unlock.c: Likewise.
	* sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.
2003-02-24 09:23:15 +00:00
Ulrich Drepper
3724f268b1 Update.
2003-02-24  Ulrich Drepper  <drepper@redhat.com>

	* Makefile (tests): Add tst-rwlock8 and tst-rwlock9.
	* tst-rwlock8.c: New file.
	* tst-rwlock9.c: New file.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Fix
	complete broken rwlock implementation.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
	Likewise.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
	Likewise.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
2003-02-24 08:50:25 +00:00
Ulrich Drepper
26a526fa5e Stress test of timed rwlock functions. 2003-02-24 08:48:33 +00:00
Roland McGrath
8915cc4099 * Makefile (nptl-version): Change regexp so case sensitivity is ok. 2003-02-24 07:19:55 +00:00
Roland McGrath
f83b9d2107 2003-02-23 Roland McGrath <roland@redhat.com>
* Makefile (nptl-version): Change regexp so case sensitivity is ok.
2003-02-24 07:19:44 +00:00
Ulrich Drepper
ecf289594a Update.
* Makefile (tests): Add tst-context1.
	* tst-context1.c: New file.
2003-02-24 04:59:26 +00:00
Ulrich Drepper
79b0a335d8 Test *context functions in threads. 2003-02-24 04:58:42 +00:00
Ulrich Drepper
5e47b76b50 Update.
* Makefile (tests): Add tst-tls1 and tst-tls2.
	* tst-tls1.c: New file.
	* tst-tls2.c: New file.
2003-02-24 03:50:46 +00:00
Ulrich Drepper
cdd8e46f88 Update.
* sysdeps/generic/bits/confname.h: Remove #ifs.
2003-02-24 00:12:23 +00:00
Ulrich Drepper
5a6bbb4160 Update.
* posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
	* posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
2003-02-23 09:58:08 +00:00
Ulrich Drepper
fd1a0d0c7c Update.
2003-02-23  Ulrich Drepper  <drepper@redhat.com>

	* resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
	element to -1.
2003-02-23 09:16:11 +00:00
Ulrich Drepper
b1b8e747d4 Update.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Shave
	off 3 more bytes by using offset-less instructions when possible.
2003-02-23 07:20:34 +00:00
Ulrich Drepper
c780aa2137 Update.
* catgets/Makefile: Add rules to run test2.msg test.
	* catgets/test2.msg: New file.
2003-02-22 23:19:31 +00:00
Ulrich Drepper
d5ca9483e8 Add dependency for $(objpfx)version.d. 2003-02-22 22:52:12 +00:00
Ulrich Drepper
757f9fcb6f Update.
* iconv/iconv_prog.c (main): Unify messages.
2003-02-22 20:02:35 +00:00