kopensolaris-gnu/glibc.git
17 years ago* sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
aoliva [Fri, 21 Mar 2003 19:44:22 +0000 (19:44 +0000)]
* sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
* sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.

17 years ago.
roland [Fri, 21 Mar 2003 11:15:17 +0000 (11:15 +0000)]
.

17 years ago.
roland [Fri, 21 Mar 2003 11:15:01 +0000 (11:15 +0000)]
.

17 years ago2003-03-21 Roland McGrath <roland@redhat.com>
roland [Fri, 21 Mar 2003 11:14:51 +0000 (11:14 +0000)]
2003-03-21  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/i486/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling
version of the macro to avoid compile-time warnings.
[! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above.
(__arch_compare_and_exchange_bool_64_acq): New macro.
(atomic_exchange_and_add, atomic_add): Fix name and usage of it.
(atomic_increment, atomic_decrement): Likewise.

17 years agoUpdate.
drepper [Fri, 21 Mar 2003 09:51:39 +0000 (09:51 +0000)]
Update.

17 years agoDon't use mathcing memory constraints.
drepper [Fri, 21 Mar 2003 09:46:04 +0000 (09:46 +0000)]
Don't use mathcing memory constraints.

17 years agoDon't use matching memory constraints.
drepper [Fri, 21 Mar 2003 09:43:01 +0000 (09:43 +0000)]
Don't use matching memory constraints.

17 years ago.
roland [Fri, 21 Mar 2003 08:54:48 +0000 (08:54 +0000)]
.

17 years ago2003-03-21 Roland McGrath <roland@redhat.com>
roland [Fri, 21 Mar 2003 08:54:39 +0000 (08:54 +0000)]
2003-03-21  Roland McGrath  <roland@redhat.com>

* include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.

17 years ago(__arch_compare_and_exchange_val_*_acq): Remove setne instruction.
drepper [Fri, 21 Mar 2003 08:19:35 +0000 (08:19 +0000)]
(__arch_compare_and_exchange_val_*_acq): Remove setne instruction.

17 years agoUpdate.
drepper [Fri, 21 Mar 2003 08:13:51 +0000 (08:13 +0000)]
Update.

17 years ago(__lll_mutex_trylock): Use atomic_compare_and_exchange_val_acq instead
drepper [Fri, 21 Mar 2003 08:12:35 +0000 (08:12 +0000)]
(__lll_mutex_trylock): Use atomic_compare_and_exchange_val_acq instead
of __lll_compare_and_swap.

17 years ago(__pthread_once): Correct order of argument for last change.
drepper [Fri, 21 Mar 2003 08:11:37 +0000 (08:11 +0000)]
(__pthread_once): Correct order of argument for last change.

17 years ago(__pthread_once): Use atomic_compare_and_exchange_val_acq instead of
drepper [Fri, 21 Mar 2003 08:10:24 +0000 (08:10 +0000)]
(__pthread_once): Use atomic_compare_and_exchange_val_acq instead of
__lll_compare_and_swap.

17 years agoUpdate.
drepper [Fri, 21 Mar 2003 08:03:25 +0000 (08:03 +0000)]
Update.

17 years agoAdjust for new form of compare&exchange macros.
drepper [Fri, 21 Mar 2003 08:02:04 +0000 (08:02 +0000)]
Adjust for new form of compare&exchange macros.

17 years agoUpdate.
drepper [Fri, 21 Mar 2003 07:48:36 +0000 (07:48 +0000)]
Update.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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.

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

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

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

17 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

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

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

17 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.

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

17 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.

17 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.

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

17 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.

17 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.

17 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.

17 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.

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

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

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

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

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

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

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

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

17 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.

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

17 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.

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

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

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

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

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

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

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

17 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.

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

17 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.

17 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.

17 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.

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

17 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.

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

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

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

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

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

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

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

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

17 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.

17 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.

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

17 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>.

17 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>.

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

17 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.

17 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.

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

17 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.

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

17 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.

17 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.

17 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.