kopensolaris-gnu/glibc.git
16 years agoAdjust for new form of compare&exchange macros.
drepper [Fri, 21 Mar 2003 07:45:54 +0000 (07:45 +0000)]
Adjust for new form of compare&exchange macros.

16 years agoDefine __arch_compare_and_exchange_val_*_acq instead of
drepper [Fri, 21 Mar 2003 07:43:48 +0000 (07:43 +0000)]
Define __arch_compare_and_exchange_val_*_acq instead of
__arch_compare_and_exchange_*_acq.

16 years agoDefine __arch_compare_and_exchange_bool_*_acq instead of
drepper [Fri, 21 Mar 2003 07:43:14 +0000 (07:43 +0000)]
Define __arch_compare_and_exchange_bool_*_acq instead of
__arch_compare_and_exchange_*_acq.

16 years agoDefine __arch_compare_and_exchange_bool_*_acq instead of
drepper [Fri, 21 Mar 2003 07:42:19 +0000 (07:42 +0000)]
Define __arch_compare_and_exchange_bool_*_acq instead of
__arch_compare_and_exchange_*_acq.

16 years agoDefine __arch_compare_and_exchange_val_*_acq instead of
drepper [Fri, 21 Mar 2003 07:39:19 +0000 (07:39 +0000)]
Define __arch_compare_and_exchange_val_*_acq instead of
__arch_compare_and_exchange_*_acq.

16 years agoDefine atomic_compare_and_exchange_val_acq,
drepper [Fri, 21 Mar 2003 07:37:36 +0000 (07:37 +0000)]
Define atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_val_rel, atomic_compare_and_exchange_bool_acq, and
atomic_compare_and_exchange_bool_rel instead of
atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.

16 years ago* sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
aoliva [Thu, 20 Mar 2003 22:29:43 +0000 (22:29 +0000)]
* sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
* sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust.
* sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.

16 years ago* sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
aoliva [Thu, 20 Mar 2003 20:58:01 +0000 (20:58 +0000)]
* sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
into high and low halves on n64.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.

16 years agoUpdate.
drepper [Thu, 20 Mar 2003 19:44:18 +0000 (19:44 +0000)]
Update.

16 years ago(atomic_decrement_if_positive): Adjust for the correct atomic_compare_and_exchange_ac...
drepper [Thu, 20 Mar 2003 19:42:54 +0000 (19:42 +0000)]
(atomic_decrement_if_positive): Adjust for the correct atomic_compare_and_exchange_acq semantics.

16 years ago* sysdeps/mips/ieee754.h: Remove excess #endif.
aoliva [Thu, 20 Mar 2003 17:59:44 +0000 (17:59 +0000)]
* sysdeps/mips/ieee754.h: Remove excess #endif.

16 years ago.
roland [Thu, 20 Mar 2003 11:40:51 +0000 (11:40 +0000)]
.

16 years ago2003-03-20 Roland McGrath <roland@redhat.com>
roland [Thu, 20 Mar 2003 11:40:42 +0000 (11:40 +0000)]
2003-03-20  Roland McGrath  <roland@redhat.com>

* include/atomic.h: Syntax braino fix.

16 years ago2003-03-20 Roland McGrath <roland@redhat.com>
roland [Thu, 20 Mar 2003 11:40:40 +0000 (11:40 +0000)]
2003-03-20  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused
variable.  Remove superfluous memory clobber.

16 years ago2003-03-20 Roland McGrath <roland@redhat.com>
roland [Thu, 20 Mar 2003 11:40:36 +0000 (11:40 +0000)]
2003-03-20  Roland McGrath  <roland@redhat.com>

* posix/tst-nice.c (do_test): Use %m formats instead of printing errno
in decimal.  Don't bail if niced at start.  Just check that nice call
bumps the total at all.

16 years agoUpdate.
drepper [Thu, 20 Mar 2003 10:29:20 +0000 (10:29 +0000)]
Update.

16 years agoInclude <atomic.h>.
drepper [Thu, 20 Mar 2003 10:28:47 +0000 (10:28 +0000)]
Include <atomic.h>.
Remove __lll_add, __lll_dev_if_positive, and __lll_test_and_set
definitions.  Replace uses with calls to atomic_* functions.

16 years agoReplace __lll_add calls with atomic_exchange_and_add calls respectively.
drepper [Thu, 20 Mar 2003 10:28:06 +0000 (10:28 +0000)]
Replace __lll_add calls with atomic_exchange_and_add calls respectively.

16 years ago* sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
aoliva [Thu, 20 Mar 2003 10:27:53 +0000 (10:27 +0000)]
* sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
including pc, gp, sp and fp, as long long.
* sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux.
* sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments.
Add gp argument, and set gp in the jmpbuf to it.
* sysdeps/mips/setjmp_aux.c: Revert to o32-only.

16 years agoReplace __lll_add calls with atomic_exchange_and_add calls respectively.
drepper [Thu, 20 Mar 2003 10:27:42 +0000 (10:27 +0000)]
Replace __lll_add calls with atomic_exchange_and_add calls respectively.

16 years agoInclude <atomic.h>.
drepper [Thu, 20 Mar 2003 10:26:47 +0000 (10:26 +0000)]
Include <atomic.h>.
Remove __lll_add, __lll_dev_if_positive, and __lll_test_and_set
definitions.  Replace uses with calls to atomic_* functions.

16 years agoReplace __lll_add calls with atomic_exchange_and_add calls respectively.
drepper [Thu, 20 Mar 2003 10:25:03 +0000 (10:25 +0000)]
Replace __lll_add calls with atomic_exchange_and_add calls respectively.

16 years agoReplace __lll_add and __lll_test_and_set calls with
drepper [Thu, 20 Mar 2003 10:23:47 +0000 (10:23 +0000)]
Replace __lll_add and __lll_test_and_set calls with
atomic_exchange_and_add and atomic_exchange call respectively.

16 years agoUpdate.
drepper [Thu, 20 Mar 2003 10:18:24 +0000 (10:18 +0000)]
Update.

16 years agoPretty printing. Define atomic_exchange, atomic_exchange_and_add, and
drepper [Thu, 20 Mar 2003 10:15:22 +0000 (10:15 +0000)]
Pretty printing.  Define atomic_exchange, atomic_exchange_and_add, and
atomic_decrement_if_positive

16 years agoPretty printing. Define atomic_exchange.
drepper [Thu, 20 Mar 2003 10:14:05 +0000 (10:14 +0000)]
Pretty printing.  Define atomic_exchange.

16 years agoDefine atomic_exchange.
drepper [Thu, 20 Mar 2003 10:13:00 +0000 (10:13 +0000)]
Define atomic_exchange.

16 years agoDefine atomic_exchange and atomic_decrement_if_positive if not already
drepper [Thu, 20 Mar 2003 10:11:43 +0000 (10:11 +0000)]
Define atomic_exchange and atomic_decrement_if_positive if not already
defined.  Add some __builtin_expect.

16 years ago.
roland [Thu, 20 Mar 2003 09:51:17 +0000 (09:51 +0000)]
.

16 years ago2003-03-20 Martin Schwidefsky <sky@mschwid3.boeblingen.de.ibm.com>
roland [Thu, 20 Mar 2003 09:50:58 +0000 (09:50 +0000)]
2003-03-20  Martin Schwidefsky  <sky@mschwid3.boeblingen.de.ibm.com>

* sysdeps/s390/pthread_spin_lock.c (pthread_spin_lock): Use type
int for variable OLDVAL and correct inline assembler contraint.
* sysdeps/s390/pthread_spin_trylock.c (pthread_spin_trylock): Use
type int for variable OLD.

16 years ago2003-03-20 Martin Schwidefsky <sky@mschwid3.boeblingen.de.ibm.com>
roland [Thu, 20 Mar 2003 09:50:54 +0000 (09:50 +0000)]
2003-03-20  Martin Schwidefsky  <sky@mschwid3.boeblingen.de.ibm.com>

* sysdeps/s390/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define it
only for s390-32.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
(SINGLE_THREAD_P): Use global variable __local_multiple_threads
instead of multiple_threads field in the TCB.

16 years agoMerged sh[34].*-.*-linux.* lists.
roland [Thu, 20 Mar 2003 09:28:07 +0000 (09:28 +0000)]
Merged sh[34].*-.*-linux.* lists.

16 years agoChange atomic_exchange_and_add to return the old value.
drepper [Thu, 20 Mar 2003 09:03:23 +0000 (09:03 +0000)]
Change atomic_exchange_and_add to return the old value.

16 years ago(allocate_stack): Assume atomic_exchange_and_add returns the old value.
drepper [Thu, 20 Mar 2003 08:58:35 +0000 (08:58 +0000)]
(allocate_stack): Assume atomic_exchange_and_add returns the old value.

16 years ago* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
aoliva [Thu, 20 Mar 2003 07:54:56 +0000 (07:54 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
with a single instruction.

16 years ago* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
aoliva [Thu, 20 Mar 2003 07:54:20 +0000 (07:54 +0000)]
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
properly for n64.
(elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
type.
(elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf
Word before comparing with gotsym.  Take reloc_addr argument as
void*.  Remove the code added for the compiler to drop any
alignment assumptions.

16 years agoUpdate.
drepper [Thu, 20 Mar 2003 07:19:17 +0000 (07:19 +0000)]
Update.

16 years agoMoved to glibc.
drepper [Thu, 20 Mar 2003 07:16:33 +0000 (07:16 +0000)]
Moved to glibc.

16 years agoMoved to glibc.
drepper [Thu, 20 Mar 2003 07:16:12 +0000 (07:16 +0000)]
Moved to glibc.

16 years agoMoved to glibc.
drepper [Thu, 20 Mar 2003 07:15:50 +0000 (07:15 +0000)]
Moved to glibc.

16 years agoMoved to glibc.
drepper [Thu, 20 Mar 2003 07:15:29 +0000 (07:15 +0000)]
Moved to glibc.

16 years agoMoved to glibc.
drepper [Thu, 20 Mar 2003 07:15:16 +0000 (07:15 +0000)]
Moved to glibc.

16 years agoUpdate.
drepper [Thu, 20 Mar 2003 07:13:02 +0000 (07:13 +0000)]
Update.

16 years agoSuperceded by atomic.h.
drepper [Thu, 20 Mar 2003 07:10:53 +0000 (07:10 +0000)]
Superceded by atomic.h.

16 years agoUse atomic.h instead of atomicity.h. Adjust use of macros from
drepper [Thu, 20 Mar 2003 07:07:22 +0000 (07:07 +0000)]
Use atomic.h instead of atomicity.h.  Adjust use of macros from
atomicity.h to new names and semantics.

16 years agoSuperceded by atomic.h.
drepper [Thu, 20 Mar 2003 07:03:38 +0000 (07:03 +0000)]
Superceded by atomic.h.

16 years ago(distribute): Add include/atomic.h and bits/atomic.h.
drepper [Thu, 20 Mar 2003 07:01:25 +0000 (07:01 +0000)]
(distribute): Add include/atomic.h and bits/atomic.h.

16 years agoGeneric atomic operation definitions.
drepper [Thu, 20 Mar 2003 06:56:50 +0000 (06:56 +0000)]
Generic atomic operation definitions.

16 years agoGeneric interface to atomic operations.
drepper [Thu, 20 Mar 2003 06:50:22 +0000 (06:50 +0000)]
Generic interface to atomic operations.

16 years agoAtomic operations for PPC.
drepper [Thu, 20 Mar 2003 06:49:38 +0000 (06:49 +0000)]
Atomic operations for PPC.

16 years agoAtomic operations for IA-64.
drepper [Thu, 20 Mar 2003 06:49:21 +0000 (06:49 +0000)]
Atomic operations for IA-64.

16 years agoAtomic operations for SH.
drepper [Thu, 20 Mar 2003 06:48:57 +0000 (06:48 +0000)]
Atomic operations for SH.

16 years agoAtomic operations for s390.
drepper [Thu, 20 Mar 2003 06:48:32 +0000 (06:48 +0000)]
Atomic operations for s390.

16 years agoAtomic operations for x86-64.
drepper [Thu, 20 Mar 2003 06:48:12 +0000 (06:48 +0000)]
Atomic operations for x86-64.

16 years agoAtomic operations for i486 and up.
drepper [Thu, 20 Mar 2003 06:46:41 +0000 (06:46 +0000)]
Atomic operations for i486 and up.

16 years agoUpdate.
drepper [Thu, 20 Mar 2003 01:10:57 +0000 (01:10 +0000)]
Update.

16 years agoAdd test for hex number with non decimal last digit and negative exponent.
drepper [Thu, 20 Mar 2003 01:06:11 +0000 (01:06 +0000)]
Add test for hex number with non decimal last digit and negative exponent.

16 years ago(INTERNAL): While eating trailing zeros handling hexdigits correctly.
drepper [Thu, 20 Mar 2003 01:00:46 +0000 (01:00 +0000)]
(INTERNAL): While eating trailing zeros handling hexdigits correctly.

16 years ago* sysdeps/mips/ieee754.h: New file, suitable to replace both
aoliva [Thu, 20 Mar 2003 00:39:30 +0000 (00:39 +0000)]
* sysdeps/mips/ieee754.h: New file, suitable to replace both
../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
mips-specific for now.

16 years agoUpdate.
drepper [Wed, 19 Mar 2003 23:03:56 +0000 (23:03 +0000)]
Update.

16 years ago(do_test): Remove invalid of return value. Don't run test if initial
drepper [Wed, 19 Mar 2003 22:59:53 +0000 (22:59 +0000)]
(do_test): Remove invalid of return value.  Don't run test if initial
level != 0.

16 years agoUpdate.
drepper [Wed, 19 Mar 2003 22:36:57 +0000 (22:36 +0000)]
Update.

16 years ago(tests): Add tst-nice.
drepper [Wed, 19 Mar 2003 22:32:19 +0000 (22:32 +0000)]
(tests): Add tst-nice.

16 years agoTest for nice.
drepper [Wed, 19 Mar 2003 22:31:57 +0000 (22:31 +0000)]
Test for nice.

16 years agoUpdate.
drepper [Wed, 19 Mar 2003 19:15:36 +0000 (19:15 +0000)]
Update.

16 years agoAdd support for clock selection.
drepper [Wed, 19 Mar 2003 19:14:38 +0000 (19:14 +0000)]
Add support for clock selection.

16 years agoUpdate.
drepper [Wed, 19 Mar 2003 18:45:09 +0000 (18:45 +0000)]
Update.

16 years agoFix cut&paste error.
drepper [Wed, 19 Mar 2003 17:57:45 +0000 (17:57 +0000)]
Fix cut&paste error.

16 years agoUpdate.
drepper [Wed, 19 Mar 2003 09:52:49 +0000 (09:52 +0000)]
Update.

16 years ago(__pthread_cond_broadcast): Release lock before waking waiters.
drepper [Wed, 19 Mar 2003 09:42:14 +0000 (09:42 +0000)]
(__pthread_cond_broadcast): Release lock before waking waiters.

16 years ago(__lll_test_and_set): Fix typos.
roland [Wed, 19 Mar 2003 09:08:47 +0000 (09:08 +0000)]
(__lll_test_and_set): Fix typos.

16 years ago.
roland [Wed, 19 Mar 2003 08:27:55 +0000 (08:27 +0000)]
.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 08:27:42 +0000 (08:27 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define
unconditionally.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
(SINGLE_THREAD_P):  Add `header.' prefix.
From Paul Mackerras <paulus@samba.org>.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 08:27:37 +0000 (08:27 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_test_and_set):
Add __lll_rel_instr first.  Add memory clobber.
(lll_mutex_unlock): Use __lll_test_and_set.
From Paul Mackerras <paulus@samba.org>.

16 years ago.
roland [Wed, 19 Mar 2003 08:10:50 +0000 (08:10 +0000)]
.

16 years agoNew reference lists for check-abi, current for a few platforms + linuxthreads as...
roland [Wed, 19 Mar 2003 08:10:39 +0000 (08:10 +0000)]
New reference lists for check-abi, current for a few platforms + linuxthreads as of now.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 08:09:53 +0000 (08:09 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* abilist: New directory of libfoo.abilist files maintained using
scripts/merge-abilist.awk and "make update-abi" rules.
* Makefile (distribute): Add abilist/*.abilist.
* Makerules [$(build-shared) = yes] [$(subdir)] (tests):
Depend on check-abi.

16 years ago.
roland [Wed, 19 Mar 2003 03:34:48 +0000 (03:34 +0000)]
.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 03:34:41 +0000 (03:34 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* Versions (libpthread: GLIBC_2.2): Remove
pthread_barrierattr_getpshared, never really existed.
(libpthread: GLIBC_2.0): Move __pthread_initialize to ...
(libpthread: GLIBC_PRIVATE): ... here.

16 years ago.
roland [Wed, 19 Mar 2003 03:25:24 +0000 (03:25 +0000)]
.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 03:25:12 +0000 (03:25 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_test_and_set):
New macro.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 03:25:08 +0000 (03:25 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait):
Avoid shadowing VAL variable.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 03:25:04 +0000 (03:25 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* Versions (libpthread: GLIBC_2.3.2): Move pthread_tryjoin_np and
pthread_timedjoin_np to ...
(libpthread: GLIBC_2.3.3): ... here.
(libpthread: GLIBC_2.2): Move pthread_barrierattr_getpshared there too.

16 years agoRemove unnecessary instruction in case clock_gettime isn't available.
drepper [Wed, 19 Mar 2003 02:27:27 +0000 (02:27 +0000)]
Remove unnecessary instruction in case clock_gettime isn't available.

16 years agoUpdate.
drepper [Wed, 19 Mar 2003 00:38:11 +0000 (00:38 +0000)]
Update.

16 years ago(tests): Add tst-cond11.
drepper [Wed, 19 Mar 2003 00:35:57 +0000 (00:35 +0000)]
(tests): Add tst-cond11.

16 years agoTest pthread_condattr_[sg]etclock.
drepper [Wed, 19 Mar 2003 00:34:59 +0000 (00:34 +0000)]
Test pthread_condattr_[sg]etclock.

16 years ago.
roland [Wed, 19 Mar 2003 00:34:41 +0000 (00:34 +0000)]
.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 00:34:18 +0000 (00:34 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER.
* configure: Regenerated.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Wed, 19 Mar 2003 00:34:10 +0000 (00:34 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name.

16 years agoUpdate.
drepper [Tue, 18 Mar 2003 23:50:44 +0000 (23:50 +0000)]
Update.

16 years ago(__sysconf): Handle _SC_MONOTONIC_CLOCK correctly.
drepper [Tue, 18 Mar 2003 23:49:45 +0000 (23:49 +0000)]
(__sysconf): Handle _SC_MONOTONIC_CLOCK correctly.

16 years agoUpdate.
drepper [Tue, 18 Mar 2003 23:00:03 +0000 (23:00 +0000)]
Update.

16 years agoOptimized memcpy for PPC64.
drepper [Tue, 18 Mar 2003 22:58:31 +0000 (22:58 +0000)]
Optimized memcpy for PPC64.

16 years agoUpdate.
drepper [Tue, 18 Mar 2003 22:21:36 +0000 (22:21 +0000)]
Update.

16 years agoReorder struct passed to cleanup handler to eliminate one more instruction.
drepper [Tue, 18 Mar 2003 22:20:54 +0000 (22:20 +0000)]
Reorder struct passed to cleanup handler to eliminate one more instruction.

16 years agoReorder struct passed to cleanup handler to eliminate one more instruction.
drepper [Tue, 18 Mar 2003 22:20:44 +0000 (22:20 +0000)]
Reorder struct passed to cleanup handler to eliminate one more instruction.

16 years ago.
roland [Tue, 18 Mar 2003 21:13:51 +0000 (21:13 +0000)]
.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Tue, 18 Mar 2003 21:13:46 +0000 (21:13 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* td_ta_event_getmsg.c (td_ta_event_getmsg): Runtime error instead of
assert for reading TD_EVENT_NONE.  Clear the event buffer after
reading it.  Add a sanity check for foo->nextevent = foo.

16 years ago2003-03-18 Roland McGrath <roland@redhat.com>
roland [Tue, 18 Mar 2003 21:13:42 +0000 (21:13 +0000)]
2003-03-18  Roland McGrath  <roland@redhat.com>

* td_thr_event_getmsg.c (td_thr_event_getmsg): Splice the thread out
of the ->nextevent linkage.