about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"Roland McGrath2003-03-227-449/+473
| | | | | | | | | | | | | constraint to permit non-constant BIT argument. (atomic_bit_test_set): Likewise. * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. For quadword case, use "i" constraint if __builtin_constant_p and < 32 or "r" constraint otherwise. * configure.in: Move AC_PROG_CC and other program-finding before all the version checks. * configure: Regenerated.
* 2003-03-21 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-222-13/+17
| | | | | | | | | | * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir" constraint to permit non-constant BIT argument. (atomic_bit_test_set): Likewise. * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. For quadword case, use "i" constraint if __builtin_constant_p and < 32 or "r" constraint otherwise.
* * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke unaligned copying ↵Alexandre Oliva2003-03-215-41/+68
| | | | | | | | | | | | | | of 8-15 bytes. From Chris Demetriou <cgd@broadcom.com>. Fix label names. * sysdeps/mips/mips64/memset.S: Fix label names. Make similar change as to memcpy.S. * sysdeps/mips/memcpy.S: Formatting changes. * sysdeps/mips/memset.S: Likewise. 2003-03-21 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke unaligned copying of 8-15 bytes. From Chris Demetriou <cgd@broadcom.com>. Fix label names. * sysdeps/mips/mips64/memset.S: Fix label names. Make similar change as to memcpy.S. * sysdeps/mips/memcpy.S: Formatting changes. * sysdeps/mips/memset.S: Likewise.
* * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.Roland McGrath2003-03-214-3/+12
|
* * sysdeps/i386/tls.h [__ASSUME_SET_THREAD_AREA_SYSCALL]Roland McGrath2003-03-211-0/+5
| | | | (TLS_SETUP_GS_SEGMENT): Fix a typo.
* 2003-03-21 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-03-211-1/+1
| | | | | * sysdeps/i386/tls.h [__ASSUME_SET_THREAD_AREA_SYSCALL] (TLS_SETUP_GS_SEGMENT): Fix a typo.
* * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. * ↵Alexandre Oliva2003-03-215-32/+237
| | | | | | | | | sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments. 2003-03-21 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
* .Roland McGrath2003-03-211-1/+0
|
* * sysdeps/i386/i486/bits/atomic.hRoland McGrath2003-03-211-0/+10
| | | | | | | | | (__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.
* 2003-03-21 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-211-12/+12
| | | | | | | | | | * 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.
* Update.Ulrich Drepper2003-03-212-38/+43
| | | | | | | 2003-03-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints. * sysdeps/i386/i486/bits/atomic.h: Likewise.
* Don't use matching memory constraints.Ulrich Drepper2003-03-211-48/+48
|
* * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.Roland McGrath2003-03-211-0/+4
|
* 2003-03-21 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-211-1/+1
| | | | * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
* (__arch_compare_and_exchange_val_*_acq): Remove setne instruction.Ulrich Drepper2003-03-211-4/+4
|
* Update.Ulrich Drepper2003-03-214-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | 2003-03-20 Ulrich Drepper <drepper@redhat.com> * include/atomic.h: 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. * sysdeps/i386/i486/bits/atomic.h: Define __arch_compare_and_exchange_val_*_acq instead of __arch_compare_and_exchange_*_acq. * sysdeps/x86_64/bits/atomic.h: Likewise. * sysdeps/ia64/bits/atomic.h: Define __arch_compare_and_exchange_bool_*_acq instead of __arch_compare_and_exchange_*_acq. * sysdeps/powerpc/bits/atomic.h: Likewise. * sysdeps/s390/bits/atomic.h: Likewise. * gmon/mcount.c: Adjust for new form of compare&exchange macros. * malloc/set-freeres.c: Likewise. * nscd/cache.c: Likewise. * stdlib/cxa_finalize.c: Likewise. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
* Update.Ulrich Drepper2003-03-2129-148/+172
| | | | | | | | | | | | | | | | | | | | | | | 2003-03-21 Ulrich Drepper <drepper@redhat.com> * cancellation.c: Adjust for new form of compare&exchange macros. * cleanup_defer.c: Likewise. * init.c: Likewise. * libc-cancellation.c: Likewise. * old_pthread_cond_broadcast.c: Likewise. * old_pthread_cond_signal.c: Likewise. * old_pthread_cond_timedwait.c: Likewise. * old_pthread_cond_wait.c: Likewise. * pthread_cancel.c: Likewise. * pthread_create.c: Likewise. * pthread_detach.c: Likewise. * pthread_join.c: Likewise. * pthread_key_delete.c: Likewise. * pthread_setcancelstate.c: Likewise. * pthread_setcanceltype.c: Likewise. * pthread_timedjoin.c: Likewise. * pthread_tryjoin.c: Likewise. * sysdeps/pthread/createthread.c: Likewise.
* Define atomic_compare_and_exchange_val_acq, ↵Ulrich Drepper2003-03-211-25/+63
| | | | 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.
* * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs. * ↵Alexandre Oliva2003-03-204-4/+26
| | | | | | | | sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust. * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. * 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.
* * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset into high and ↵Alexandre Oliva2003-03-205-10/+82
| | | | | | | | | | | | 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. 2003-03-20 Alexandre Oliva <aoliva@redhat.com> * 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.
* Update.Ulrich Drepper2003-03-201-0/+5
| | | | | | | 2003-03-20 Ulrich Drepper <drepper@redhat.com> * include/atomic.h (atomic_decrement_if_positive): Adjust for the correct atomic_compare_and_exchange_acq semantics.
* (atomic_decrement_if_positive): Adjust for the correct ↵Ulrich Drepper2003-03-201-10/+9
| | | | atomic_compare_and_exchange_acq semantics.
* * sysdeps/mips/ieee754.h: Remove excess #endif.Alexandre Oliva2003-03-202-1/+4
| | | | | | 2003-03-20 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/ieee754.h: Remove excess #endif.
* * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unusedRoland McGrath2003-03-203-3/+15
| | | | | | | | | | variable. Remove superfluous memory clobber. * include/atomic.h: Syntax braino fix. * 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.
* 2003-03-20 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-201-14/+11
| | | | | | * 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.
* Update.Ulrich Drepper2003-03-203-86/+28
| | | | | | | | | | | | | | | | | | | | | | 2003-03-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Include <atomic.h>. Remove __lll_add, __lll_dev_if_positive, and __lll_test_and_set definitions. Replace uses with calls to atomic_* functions. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/lowlevellock.c: Replace __lll_add and __lll_test_and_set calls with atomic_exchange_and_add and atomic_exchange calls respectively. * sysdeps/unix/sysv/linux/sem_post.c: Likewise. * sysdeps/unix/sysv/linux/sem_timedwait.c: Likewise. * sysdeps/unix/sysv/linux/sem_trywait.c: Likewise. * sysdeps/unix/sysv/linux/sem_wait.c: Likewise. * sysdeps/unix/sysv/linux/ia64/pthread_once.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sem_port.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Likewise. * allocatestack.c (allocate_stack): Assume atomic_exchange_and_add returns the old value.
* Replace __lll_add calls with atomic_exchange_and_add calls respectively.Ulrich Drepper2003-03-207-8/+8
|
* * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers, including pc, ↵Alexandre Oliva2003-03-205-33/+43
| | | | | | | | | | | | | 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. 2003-03-20 Alexandre Oliva <aoliva@redhat.com> * 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.
* Replace __lll_add and __lll_test_and_set calls with atomic_exchange_and_add ↵Ulrich Drepper2003-03-201-3/+3
| | | | and atomic_exchange call respectively.
* Update.Ulrich Drepper2003-03-205-12/+123
| | | | | | | | | | | | | | 2003-03-20 Ulrich Drepper <drepper@redhat.com> * include/atomic.h: Define atomic_exchange and atomic_decrement_if_positive if not already defined. Add some __builtin_expect. * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange. * sysdeps/x86_64/bits/atomic.h: Likewise. * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange. * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define atomic_exchange, atomic_exchange_and_add, and atomic_decrement_if_positive
* Define atomic_exchange and atomic_decrement_if_positive if not already ↵Ulrich Drepper2003-03-201-5/+47
| | | | defined. Add some __builtin_expect.
* * sysdeps/s390/pthread_spin_lock.c (pthread_spin_lock): Use typeRoland McGrath2003-03-205-10/+23
| | | | | | | | | | | | int for variable OLDVAL and correct inline assembler contraint. * sysdeps/s390/pthread_spin_trylock.c (pthread_spin_trylock): Use type int for variable OLD. * 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.
* Merged sh[34].*-.*-linux.* lists.Roland McGrath2003-03-2012-164/+182
|
* Change atomic_exchange_and_add to return the old value.Ulrich Drepper2003-03-201-21/+12
|
* (allocate_stack): Assume atomic_exchange_and_add returns the old value.Ulrich Drepper2003-03-201-1/+2
|
* * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend with a single ↵Alexandre Oliva2003-03-202-2/+4
| | | | | | | instruction. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend with a single instruction.
* * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define properly for ↵Alexandre Oliva2003-03-202-5/+23
| | | | | | | | | | | | | | | 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. 2003-03-20 Alexandre Oliva <aoliva@redhat.com> * 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.
* Update.Ulrich Drepper2003-03-2025-575/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-19 Ulrich Drepper <drepper@redhat.com> * Makefile (distribute): Add include/atomic.h and bits/atomic.h. * include/atomic.h: New file. * sysdeps/i386/i486/bits/atomic.h: New file. * sysdeps/x86_64/bits/atomic.h: New file. * sysdeps/s390/bits/atomic.h: New file. * sysdeps/sh/bits/atomic.h: New file. * sysdeps/ia64/bits/atomic.h: New file. * sysdeps/powerpc/bits/atomic.h: New file. * sysdeps/generic/bits/atomic.h: New file. * sysdeps/i386/i486/atomicity.h: Removed. * sysdeps/x86_64/atomicity.h: Removed. * sysdeps/s390/s390-32/atomicity.h: Removed. * sysdeps/s390/s390-64/atomicity.h: Removed. * sysdeps/ia64/atomicity.h: Removed. * sysdeps/powerpc/powerpc32/atomicity.h: Removed. * sysdeps/powerpc/powerpc64/atomicity.h: Removed. * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust use of macros from atomicity.h to new names and semantics. * gmon_mcount.c: Likewise. * malloc/set-freeres.c: Likewise. * nscd/cache.c: Likewise. * stdlib/cxa_finalize.c: Likewise. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. * sysdeps/mips/ieee754.h: New file, suitable to replace both * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
* Update.Ulrich Drepper2003-03-202-0/+5
| | | | | | * stdlib/strtod.c (INTERNAL): While eating trailing zeros handling hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>. * stdlib/tst-strtod.c: Add test for the bug.
* (INTERNAL): While eating trailing zeros handling hexdigits correctly.Ulrich Drepper2003-03-201-1/+1
|
* * sysdeps/mips/ieee754.h: New file, suitable to replace both ↵Alexandre Oliva2003-03-202-0/+332
| | | | | | | | | | ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept mips-specific for now. 2003-03-19 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/ieee754.h: New file, suitable to replace both ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept mips-specific for now.
* Update.Ulrich Drepper2003-03-192-3/+13
| | | | | | | 2003-03-19 Ulrich Drepper <drepper@redhat.com> * posix/tst-nice.c (do_test): Remove invalid of return value. Don't run test if initial level != 0.
* Update.Ulrich Drepper2003-03-193-1/+70
| | | | | | | 2003-03-19 Amos Waterland <apw@us.ibm.com> * posix/tst-nice.c: New file. * posix/Makefile (tests): Add tst-nice.
* Update.Ulrich Drepper2003-03-194-3/+56
| | | | | | 2003-03-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/Makefile: Fix cut&paste error.
* Update.Ulrich Drepper2003-03-191-0/+5
| | | | | | | 2003-03-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread_cond_broadcast.c: Release lock before signalling waiters.
* (__pthread_cond_broadcast): Release lock before waking waiters.Ulrich Drepper2003-03-191-0/+6
|
* (__lll_test_and_set): Fix typos.Roland McGrath2003-03-191-2/+2
|
* * abilist: New directory of libfoo.abilist files maintained usingRoland McGrath2003-03-1925-21/+3164
| | | | | | | scripts/merge-abilist.awk and "make update-abi" rules. * Makefile (distribute): Add abilist/*.abilist. * Makerules [$(build-shared) = yes] [$(subdir)] (tests): Depend on check-abi.
* * Versions (libpthread: GLIBC_2.2): RemoveRoland McGrath2003-03-195-26/+61
| | | | | | pthread_barrierattr_getpshared, never really existed. (libpthread: GLIBC_2.0): Move __pthread_initialize to ... (libpthread: GLIBC_PRIVATE): ... here.
* 2003-03-18 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-191-5/+7
| | | | | | | * 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.