kopensolaris-gnu/glibc.git
18 years agoSystem call cancellation handling for S390-64.
drepper [Sun, 5 Jan 2003 05:06:45 +0000 (05:06 +0000)]
System call cancellation handling for S390-64.

18 years agoSystem call cancellation handling for S390-32.
drepper [Sun, 5 Jan 2003 05:06:21 +0000 (05:06 +0000)]
System call cancellation handling for S390-32.

18 years agoUpdate.
drepper [Sun, 5 Jan 2003 04:58:18 +0000 (04:58 +0000)]
Update.

18 years ago(tests): Add tst-cancel7.
drepper [Sun, 5 Jan 2003 04:57:40 +0000 (04:57 +0000)]
(tests): Add tst-cancel7.
(tst-cancel7-ARGS): New variable.

18 years agoTest for cancellation of system.
drepper [Sun, 5 Jan 2003 04:57:04 +0000 (04:57 +0000)]
Test for cancellation of system.

18 years ago(cancel_handler): Correct order of parameters passed to kill.
drepper [Sun, 5 Jan 2003 04:10:16 +0000 (04:10 +0000)]
(cancel_handler): Correct order of parameters passed to kill.

18 years ago.
schwab [Sat, 4 Jan 2003 22:56:19 +0000 (22:56 +0000)]
.

18 years ago.
schwab [Sat, 4 Jan 2003 22:53:07 +0000 (22:53 +0000)]
.

18 years agoAdd nanosecond fields.
schwab [Sat, 4 Jan 2003 22:51:16 +0000 (22:51 +0000)]
Add nanosecond fields.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 22:41:52 +0000 (22:41 +0000)]
Update.

18 years ago(do_system): Minor optimizations. Remove unnecessary code.
drepper [Sat, 4 Jan 2003 22:37:17 +0000 (22:37 +0000)]
(do_system): Minor optimizations.  Remove unnecessary code.

18 years ago.
roland [Sat, 4 Jan 2003 21:42:58 +0000 (21:42 +0000)]
.

18 years ago2002-01-03 Paul Eggert <eggert@twinsun.com>
roland [Sat, 4 Jan 2003 21:42:30 +0000 (21:42 +0000)]
2002-01-03  Paul Eggert  <eggert@twinsun.com>

* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 20:42:48 +0000 (20:42 +0000)]
Update.

18 years ago(do_system): Correct reference counter in case SIGQUIT handler
drepper [Sat, 4 Jan 2003 20:40:55 +0000 (20:40 +0000)]
(do_system): Correct reference counter in case SIGQUIT handler
installation failed.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 09:45:01 +0000 (09:45 +0000)]
Update.

18 years agoOptimize initialization a bit to work around gcc defficiencies.
drepper [Sat, 4 Jan 2003 09:44:28 +0000 (09:44 +0000)]
Optimize initialization a bit to work around gcc defficiencies.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 08:01:29 +0000 (08:01 +0000)]
Update.

18 years ago(pthread_cond_2_0_t): Remove unneeded lock element.
drepper [Sat, 4 Jan 2003 08:00:45 +0000 (08:00 +0000)]
(pthread_cond_2_0_t): Remove unneeded lock element.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 03:56:52 +0000 (03:56 +0000)]
Update.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 03:56:21 +0000 (03:56 +0000)]
Update.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 02:52:17 +0000 (02:52 +0000)]
Update.

18 years ago(tests): Add tst-cond7.
drepper [Sat, 4 Jan 2003 02:51:46 +0000 (02:51 +0000)]
(tests): Add tst-cond7.

18 years agoConditional variable access ordering and cancellation test.
drepper [Sat, 4 Jan 2003 02:51:01 +0000 (02:51 +0000)]
Conditional variable access ordering and cancellation test.

18 years agoUpdate.
drepper [Sat, 4 Jan 2003 02:12:26 +0000 (02:12 +0000)]
Update.

18 years ago(condvar_cleanup): Get condvar address from the right place.
drepper [Sat, 4 Jan 2003 02:11:57 +0000 (02:11 +0000)]
(condvar_cleanup): Get condvar address from the right place.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 23:46:00 +0000 (23:46 +0000)]
Update.

18 years ago[HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).
drepper [Fri, 3 Jan 2003 23:43:53 +0000 (23:43 +0000)]
[HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).

18 years ago.
roland [Fri, 3 Jan 2003 23:15:04 +0000 (23:15 +0000)]
.

18 years ago2003-01-03 Roland McGrath <roland@redhat.com>
roland [Fri, 3 Jan 2003 23:14:49 +0000 (23:14 +0000)]
2003-01-03  Roland McGrath  <roland@redhat.com>

* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
* td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
* td_thr_get_info.c (td_thr_get_info): Likewise.
* td_thr_getgregs.c (td_thr_getgregs): Likewise.
* td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
* td_ta_thr_iter.c (iterate_thread_list): Likewise.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 23:14:02 +0000 (23:14 +0000)]
Update.

18 years agoCancellation support for syscalls on Linux/Alpha.
drepper [Fri, 3 Jan 2003 23:12:17 +0000 (23:12 +0000)]
Cancellation support for syscalls on Linux/Alpha.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 22:32:41 +0000 (22:32 +0000)]
Update.

18 years agoProvide declaration for __res_init_weak and reorder declarations.
drepper [Fri, 3 Jan 2003 22:31:47 +0000 (22:31 +0000)]
Provide declaration for __res_init_weak and reorder declarations.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 22:31:16 +0000 (22:31 +0000)]
Update.

18 years agoDeclare weak_extern functions.
drepper [Fri, 3 Jan 2003 22:29:51 +0000 (22:29 +0000)]
Declare weak_extern functions.

18 years agoConvert GCC extension initiailzer syntax to C99.
drepper [Fri, 3 Jan 2003 22:02:16 +0000 (22:02 +0000)]
Convert GCC extension initiailzer syntax to C99.

18 years ago(inline_syscall_r0_asm): New.
drepper [Fri, 3 Jan 2003 21:59:45 +0000 (21:59 +0000)]
(inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.

18 years agoCorrect cast.
drepper [Fri, 3 Jan 2003 21:43:06 +0000 (21:43 +0000)]
Correct cast.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 21:15:43 +0000 (21:15 +0000)]
Update.

18 years agoMake memory allocate race-free.
drepper [Fri, 3 Jan 2003 21:14:44 +0000 (21:14 +0000)]
Make memory allocate race-free.

18 years agoCorrect definitions of atomic_full_barrier, atomic_read_barrier,
drepper [Fri, 3 Jan 2003 21:14:19 +0000 (21:14 +0000)]
Correct definitions of atomic_full_barrier, atomic_read_barrier,
atomic_write_barrier.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 20:51:03 +0000 (20:51 +0000)]
Update.

18 years ago($(objpfx)libpthread.so): Depend on ld.so.
drepper [Fri, 3 Jan 2003 20:49:06 +0000 (20:49 +0000)]
($(objpfx)libpthread.so): Depend on ld.so.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 20:48:15 +0000 (20:48 +0000)]
Update.

18 years ago(_dl_deallocate_tls): Add rtld_hidden_def. (_dl_allocate_tls): Likewise.
drepper [Fri, 3 Jan 2003 20:47:25 +0000 (20:47 +0000)]
(_dl_deallocate_tls): Add rtld_hidden_def.  (_dl_allocate_tls): Likewise.
Remove INTDEF.

18 years ago(_dl_allocate_tls, _dl_deallocate_tls): Add rtld_hidden_proto.
drepper [Fri, 3 Jan 2003 20:46:59 +0000 (20:46 +0000)]
(_dl_allocate_tls, _dl_deallocate_tls): Add rtld_hidden_proto.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 20:44:14 +0000 (20:44 +0000)]
Update.

18 years ago($(objpfx)libpthread.so): Depend on ld.so.
drepper [Fri, 3 Jan 2003 20:43:47 +0000 (20:43 +0000)]
($(objpfx)libpthread.so): Depend on ld.so.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 19:13:49 +0000 (19:13 +0000)]
Update.

18 years agoUse pthread_cond_2_0_t for condvar parameter.
drepper [Fri, 3 Jan 2003 19:13:33 +0000 (19:13 +0000)]
Use pthread_cond_2_0_t for condvar parameter.
Do appropriate locking.

18 years agoUse pthread_cond_2_0_t for condvar parameter.
drepper [Fri, 3 Jan 2003 19:13:08 +0000 (19:13 +0000)]
Use pthread_cond_2_0_t for condvar parameter.

18 years agoUse pthread_cond_2_0_t for 2.0 condvar functions.
drepper [Fri, 3 Jan 2003 19:11:03 +0000 (19:11 +0000)]
Use pthread_cond_2_0_t for 2.0 condvar functions.

18 years ago(pthread_cond_2_0_t): New type.
drepper [Fri, 3 Jan 2003 19:10:08 +0000 (19:10 +0000)]
(pthread_cond_2_0_t): New type.
(struct pthread_functions): Use new type for 2.0 condvar callbacks.
Use new type for the 2.0 condvar function prototypes.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 09:57:28 +0000 (09:57 +0000)]
Update.

18 years agoOptimized.
drepper [Fri, 3 Jan 2003 09:54:23 +0000 (09:54 +0000)]
Optimized.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 08:14:47 +0000 (08:14 +0000)]
Update.

18 years ago(__pthread_cond_wait): Don't save cancellation mode and seq value in
drepper [Fri, 3 Jan 2003 08:14:19 +0000 (08:14 +0000)]
(__pthread_cond_wait): Don't save cancellation mode and seq value in
same location.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 08:11:20 +0000 (08:11 +0000)]
Update.

18 years agoDon't mark function as weak.
drepper [Fri, 3 Jan 2003 08:10:38 +0000 (08:10 +0000)]
Don't mark function as weak.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 06:51:18 +0000 (06:51 +0000)]
Update.

18 years ago(aio_suspend): Don't quite remove any, but unify the test.
drepper [Fri, 3 Jan 2003 06:49:57 +0000 (06:49 +0000)]
(aio_suspend): Don't quite remove any, but unify the test.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 06:46:11 +0000 (06:46 +0000)]
Update.

18 years ago(aio_suspend): Simplify by removing 'any' variable.
drepper [Fri, 3 Jan 2003 06:44:54 +0000 (06:44 +0000)]
(aio_suspend): Simplify by removing 'any' variable.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 01:35:14 +0000 (01:35 +0000)]
Update.

18 years ago(SIGCANCEL): Only define if LIBC_SIGACTION was not yet defined.
drepper [Fri, 3 Jan 2003 01:34:02 +0000 (01:34 +0000)]
(SIGCANCEL): Only define if LIBC_SIGACTION was not yet defined.
[!defined LIBC_SIGACTION]: Define LIBC_SIGACTION, #include self.
[!defined LIBC_SIGACTION] (__sigaction): New function and
libc_hidden_weak.
[!defined LIBC_SIGACTION] (sigaction): New weak_alias.
[defined LIBC_SIGACTION]: #include_next <sigaction.c>.

18 years agoInclude shlib-compat.h.
drepper [Fri, 3 Jan 2003 01:33:47 +0000 (01:33 +0000)]
Include shlib-compat.h.
(pthread_cond_init): Change strong_alias into versioned_symbol.

18 years agoInclude shlib-compat.h.
drepper [Fri, 3 Jan 2003 01:33:29 +0000 (01:33 +0000)]
Include shlib-compat.h.
(pthread_cond_destroy): Change strong_alias into versioned_symbol.

18 years agostruct pthread_functions): Rename ptr_pthread_cond_*
drepper [Fri, 3 Jan 2003 01:33:07 +0000 (01:33 +0000)]
struct pthread_functions): Rename ptr_pthread_cond_*
fields to ptr___pthread_cond_* and add ptr___pthread_cond_*_2_0 fields.
(__pthread_cond_broadcast_2_0, __pthread_cond_destroy_2_0,
__pthread_cond_init_2_0, __pthread_cond_signal_2_0,
__pthread_cond_wait_2_0): New prototypes.
(__old_pthread_cond_broadcast, __old_pthread_cond_destroy,
__old_pthread_cond_init, __old_pthread_cond_signal,
__old_pthread_cond_wait): Removed.

18 years ago(__old_pthread_cond_wait): Renamed to...
drepper [Fri, 3 Jan 2003 01:32:47 +0000 (01:32 +0000)]
(__old_pthread_cond_wait): Renamed to...
(__pthread_cond_wait_2_0): ... this.

18 years ago(__old_pthread_cond_signal): Renamed to...
drepper [Fri, 3 Jan 2003 01:32:29 +0000 (01:32 +0000)]
(__old_pthread_cond_signal): Renamed to...
(__pthread_cond_signal_2_0): ... this.

18 years ago(__old_pthread_cond_init): Renamed to...
drepper [Fri, 3 Jan 2003 01:32:14 +0000 (01:32 +0000)]
(__old_pthread_cond_init): Renamed to...
(__pthread_cond_init_2_0): ... this.

18 years ago(__old_pthread_cond_destroy): Renamed to...
drepper [Fri, 3 Jan 2003 01:32:00 +0000 (01:32 +0000)]
(__old_pthread_cond_destroy): Renamed to...
(__pthread_cond_destroy_2_0): ... this.

18 years ago(__old_pthread_cond_broadcast): Renamed to...
drepper [Fri, 3 Jan 2003 01:31:40 +0000 (01:31 +0000)]
(__old_pthread_cond_broadcast): Renamed to...
(__pthread_cond_broadcast_2_0): ... this.

18 years agoInclude shlib-compat.h.
drepper [Fri, 3 Jan 2003 01:31:22 +0000 (01:31 +0000)]
Include shlib-compat.h.
(pthread_functions): Guard ptr___pthread_attr_init_2_0
initialization with SHLIB_COMPAT (GLIBC_2_0, GLIBC_2_1).
Rename ptr_pthread_cond_* to ptr___pthread_cond_*, initialize
ptr___pthread_cond_*_2_0 fields.

18 years agoExport both pthread_cond_*@@GLIBC_2.3.2 and pthread_cond_*@GLIBC_2.0
drepper [Fri, 3 Jan 2003 01:30:58 +0000 (01:30 +0000)]
Export both pthread_cond_*@@GLIBC_2.3.2 and pthread_cond_*@GLIBC_2.0
compatibility symbols.

18 years ago[libc] (GLIBC_2.3.2): Export pthread_cond_broadcast,
drepper [Fri, 3 Jan 2003 01:30:33 +0000 (01:30 +0000)]
[libc] (GLIBC_2.3.2): Export pthread_cond_broadcast,
pthread_cond_destroy, pthread_cond_init, pthread_cond_signal and
pthread_cond_wait.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 00:45:00 +0000 (00:45 +0000)]
Update.

18 years ago(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
drepper [Fri, 3 Jan 2003 00:42:40 +0000 (00:42 +0000)]
(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
#ifndef LIBC_SIGACTION.  Remove SIGCANCEL handling here.

18 years ago(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
drepper [Fri, 3 Jan 2003 00:42:08 +0000 (00:42 +0000)]
(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
#ifndef LIBC_SIGACTION.

18 years agoUpdate.
drepper [Fri, 3 Jan 2003 00:40:48 +0000 (00:40 +0000)]
Update.

18 years agosigwait implementation for LinuxThreads.
drepper [Fri, 3 Jan 2003 00:39:19 +0000 (00:39 +0000)]
sigwait implementation for LinuxThreads.

18 years agoraise implementation for LinuxThreads.
drepper [Fri, 3 Jan 2003 00:38:38 +0000 (00:38 +0000)]
raise implementation for LinuxThreads.

18 years ago(__pthread_cleanup_upto): Protect weak_extern with #ifndef SHARED.
drepper [Fri, 3 Jan 2003 00:37:52 +0000 (00:37 +0000)]
(__pthread_cleanup_upto): Protect weak_extern with #ifndef SHARED.

18 years ago(__pthread_fork): Protect weak_extern with #ifndef SHARED.
drepper [Fri, 3 Jan 2003 00:37:21 +0000 (00:37 +0000)]
(__pthread_fork): Protect weak_extern with #ifndef SHARED.

18 years ago(__pthread_cond_align_t): New type.
drepper [Fri, 3 Jan 2003 00:37:01 +0000 (00:37 +0000)]
(__pthread_cond_align_t): New type.

18 years ago(__libc_maybe_call2): Add __builtin_expect.
drepper [Fri, 3 Jan 2003 00:36:33 +0000 (00:36 +0000)]
(__libc_maybe_call2): Add __builtin_expect.

18 years agosigaction implementation for LinuxThreads.
drepper [Fri, 3 Jan 2003 00:36:06 +0000 (00:36 +0000)]
sigaction implementation for LinuxThreads.

18 years ago(PHTREAD_COND_INITIALIZER): Initialize __padding and __align too.
drepper [Fri, 3 Jan 2003 00:34:10 +0000 (00:34 +0000)]
(PHTREAD_COND_INITIALIZER): Initialize __padding and __align too.

18 years agoTest for cancellation in statically linked code.
drepper [Fri, 3 Jan 2003 00:33:32 +0000 (00:33 +0000)]
Test for cancellation in statically linked code.

18 years ago(__sigaction): Renamed to...
drepper [Fri, 3 Jan 2003 00:32:52 +0000 (00:32 +0000)]
(__sigaction): Renamed to...
(__pthread_sigaction): ... this.
(__sigaction): New strong alias, #ifdef SHARED only.
(sigaction): Protect with #ifdef SHARED.
(sigwait): Renamed to...
(__pthread_sigwait): ... this.
(sigwait): New strong alias, #ifdef SHARED only.
(raise): Renamed to...
(__pthread_raise): ... this.
(raise): New strong alias, #ifdef SHARED only.

18 years ago(siglongjmp, longjmp): Protect with #ifdef SHARED.
drepper [Fri, 3 Jan 2003 00:32:20 +0000 (00:32 +0000)]
(siglongjmp, longjmp): Protect with #ifdef SHARED.

18 years ago(pthread_functions): Renamed to...
drepper [Fri, 3 Jan 2003 00:32:00 +0000 (00:32 +0000)]
(pthread_functions): Renamed to...
(__pthread_functions): ... this.  No longer static, no longer
SHARED only.  Initialize ptr_pthread_sigaction, ptr_pthread_sigwait
and ptr_pthread_raise.
[SHARED] (ptr_pthread_functions): Change to &__pthread_functions.

18 years ago(__fork, __vfork): Protect with #ifdef SHARED.
drepper [Fri, 3 Jan 2003 00:31:28 +0000 (00:31 +0000)]
(__fork, __vfork): Protect with #ifdef SHARED.

18 years ago(__pthread_thread_self): Remove weak_extern.
drepper [Fri, 3 Jan 2003 00:31:05 +0000 (00:31 +0000)]
(__pthread_thread_self): Remove weak_extern.

18 years ago(struct pthread_functions): Rename ptr_pthread_cond_* fields to
drepper [Fri, 3 Jan 2003 00:30:40 +0000 (00:30 +0000)]
(struct pthread_functions): Rename ptr_pthread_cond_* fields to
ptr___pthread_cond_*.

(__pthread_sigaction, __pthread_sigwait, __pthread_raise): New
prototypes. (struct pthread_functions): Add ptr_pthread_sigaction,
ptr_pthread_sigwait, ptr_pthread_raise.

18 years agoExport both pthread_cond_*@@GLIBC_2.3.2 and pthread_cond_*@GLIBC_2.0
drepper [Fri, 3 Jan 2003 00:30:04 +0000 (00:30 +0000)]
Export both pthread_cond_*@@GLIBC_2.3.2 and pthread_cond_*@GLIBC_2.0
compatibility symbols.

18 years ago[libc] (GLIBC_2.3.2): Export pthread_cond_broadcast,
drepper [Fri, 3 Jan 2003 00:29:34 +0000 (00:29 +0000)]
[libc] (GLIBC_2.3.2): Export pthread_cond_broadcast,
pthread_cond_destroy, pthread_cond_init, pthread_cond_signal and
pthread_cond_wait.

18 years ago(tests, tests-static): Add tst-cancel-static.
drepper [Fri, 3 Jan 2003 00:29:03 +0000 (00:29 +0000)]
(tests, tests-static): Add tst-cancel-static.

18 years agoExclude sigwait.c as well, it does not have cancellation tests.
drepper [Fri, 3 Jan 2003 00:18:58 +0000 (00:18 +0000)]
Exclude sigwait.c as well, it does not have cancellation tests.