about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* 2003-04-01 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-04-021-41/+1
| | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the IA-64 version.
* sigevent_t): Fix a typo.Ulrich Drepper2003-04-011-1/+1
|
* Update.Ulrich Drepper2003-04-016-15/+34
| | | | | | | | | | | | | | | | 2003-03-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. (__SIGRTMAX): Adjust accordingly. * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define second compatibility symbol set. * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. * intl/po2test.sed: Unify the transformations for msgid and msgstr and remove a useless s/// command.
* (atomic_increment_and_test): Define. (atomic_decrement_and_test): Fix test.Andreas Schwab2003-03-311-4/+38
|
* * sysdeps/sparc/sparc32/bits/atomic.h: New file.Roland McGrath2003-03-306-262/+266
| | | | | | | | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file. * sysdeps/sparc/sparc64/bits/atomic.h: New file. * sysdeps/sparc/sparc32/atomicity.h: Removed. * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed. * sysdeps/sparc/sparc64/atomicity.h: Removed.
* Update.Ulrich Drepper2003-03-293-5/+10
| | | | | | | | | | | | | | 2003-03-27 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0" directive into empty .prologue region to ensure that call-chain is terminated even for the first instruction. * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom to terminate call-chain right from the get-go. * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary stop bit between compare & branch.
* Update.Ulrich Drepper2003-03-291-4/+8
| | | | | | | 2003-03-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid netlink_open calls if netlink is known to not be available.
* * configure.in: Add mips64* support. * configure: Rebuilt. * ↵Alexandre Oliva2003-03-2915-69/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | sysdeps/mips/bits/endian.h: Make it bi-endian. * sysdeps/mips/mipsel/bits/endian.h: Removed. * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. * sysdeps/mips/Implies: Moved wordsize-32 to... * sysdeps/mips/mips32/Implies: New file. * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, ret_NOERRNO): New. (ret, PSEUDO_END): Moved past END. (PSEUDO): Moved to... * sysdeps/unix/mips/mips32/sysdep.h: New file. * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file. * configure.in: Add mips64* support. * configure: Rebuilt. * sysdeps/mips/bits/endian.h: Make it bi-endian. * sysdeps/mips/mipsel/bits/endian.h: Removed. * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. * sysdeps/mips/Implies: Moved wordsize-32 to... * sysdeps/mips/mips32/Implies: New file. * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, ret_NOERRNO): New. (ret, PSEUDO_END): Moved past END. (PSEUDO): Moved to... * sysdeps/unix/mips/mips32/sysdep.h: New file. * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
* * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Re-introduce ENTRY.Alexandre Oliva2003-03-291-0/+1
| | | | | | | 2003-03-29 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Re-introduce ENTRY.
* Update.Ulrich Drepper2003-03-292-0/+776
| | | | | | | | | 2003-03-28 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/ifaddrs.c: New file. * inet/test-ifaddrs.c: Allow AF_PACKET. * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_NETLINK_SUPPORT.
* Update.Ulrich Drepper2003-03-291-47/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_8_acq): ... this. (__arch_compare_and_exchange_val_16_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_16_acq): ... this. (__arch_compare_and_exchange_val_32_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_32_acq): ... this. (__arch_compare_and_exchange_val_64_acq): Renamed from... (__arch_compare_and_exchange_64_acq): ... this. (atomic_exchange_and_add): Use local variables and __arch_compare_and_exchange_val_64_acq. (atomic_add): Likewise. (atomic_add_negative, atomic_add_zero): Use local variables. * Makefile: Remove libmd5crypt goal.
* 2003-03-27 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-281-12/+12
| | | | | * sysdeps/powerpc/bits/atomic.h [! __powerpc64__] (__arch_atomic_decrement_if_positive_64): Fix bogus definition.
* * sysdeps/unix/mips/sysdep.S: Include sys/asm.h.Alexandre Oliva2003-03-281-0/+1
| | | | * sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
* * sysdeps/unix/sysv/linux/mips/configure: Rebuilt.Alexandre Oliva2003-03-281-0/+75
| | | | | | 2003-03-28 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
* 2003-03-25 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-03-281-5/+16
| | | | | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore special handling of relocations against local symbols.
* Update.Ulrich Drepper2003-03-272-28/+82
| | | | | | | | | | | | | | | | | | | 2003-03-27 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__]. [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq): Define PPC64 specific version. [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq): Change (mem) constraint to "b". [__powerpc64__] (__arch_atomic_exchange_and add_64): Replace addi with add. Change (value) contraint to "r". Change (mem) constraint to "b". [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro. (__arch_atomic_exchange_32): Change (mem) constraint to "b". (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b". (__arch_atomic_decrement_if_positive_32): New macro. (atomic_decrement_if_positive): Use __arch* macros.
* Update.Ulrich Drepper2003-03-272-10/+15
| | | | | | | | | 2003-03-27 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's ar.unat before returning. Add missing .mem.offset directives to ensure file gets assembled without warnings. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* (__sysconf) <_SC_MONOTONIC_CLOCK>: Return -1 instead of 0 if clock_getres ↵Ulrich Drepper2003-03-271-1/+1
| | | | failed.
* * Makerules (check-abi) [$(enable-check-abi) = warn]:Roland McGrath2003-03-273-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore exit status from diff. * configure.in (enable_check_abi): Document possible value "warn". Change default to no for now. * configure: Regenerated. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning macro calls and a #include <stub-tag.h> at the end. * Makerules ($(objpfx)stubs): Tweak sed commands. * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in caller column for *xattr syscalls, since they are in sysdeps/generic. * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid 2003-03-26 Roland McGrath <roland@redhat.com> * Makerules (check-abi-config): Use /thread instead of /tls when use-thread and not just use-tls is set. * Makerules (update-abi): Put quotes around $(update-abi-config). * elf/Makefile (check-abi): Depend on check-abi-ld. (update-abi): Depend on update-abi-ld.
* 2003-03-27 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-271-0/+2
| | | | | | * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning macro calls and a #include <stub-tag.h> at the end. * Makerules ($(objpfx)stubs): Tweak sed commands.
* Update.Ulrich Drepper2003-03-271-8/+10
| | | | | | | | 2003-03-26 GOTO Masanori <gotom@debian.or.jp> * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and do not check for errors (unless testing for 32bit variant). * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
* (setfsuid): Use INTERNAL_SYSCALL and do not check for errors (unless testing ↵Ulrich Drepper2003-03-271-9/+11
| | | | for 32bit variant).
* * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): UseRoland McGrath2003-03-271-2/+2
| | | | | | | | | | | | | unconditional mov. Remove nop. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code when __ASSUME_VFORK_SYSCALL is defined. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for __ASSUME_MMAP2_SYSCALL. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for __ASSUME_REALTIME_SIGNALS.
* 2003-03-27 Philip Blundell <philb@gnu.org>Roland McGrath2003-03-274-8/+35
| | | | | | | | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code when __ASSUME_VFORK_SYSCALL is defined. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for __ASSUME_MMAP2_SYSCALL. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for __ASSUME_REALTIME_SIGNALS.
* Update.Ulrich Drepper2003-03-272-2/+12
| | | | | | | | 2003-03-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2 only if DL_NO_COPY_RELOCS is not defined. * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS.
* (struct siginfo): Avoid no-op padding element.Ulrich Drepper2003-03-265-5/+0
|
* 2003-03-26 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-262-0/+40
| | | | | | | | | * sysdeps/unix/make-syscalls.sh: When an undefined syscall has SOURCE=-, append its symbol names to make variable unix-stub-syscalls. * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] (sysdep_routines): Add stub-syscalls. ($(objpfx)stub-syscalls.c): New target. (generated): Add stub-syscalls.c.
* (__getgroups): Fix the error condition check for the return value of ↵Ulrich Drepper2003-03-263-5/+16
| | | | getgroups32.
* (PSEUDO_NOERRNO): Fix a typo.Ulrich Drepper2003-03-261-1/+1
|
* Update.Ulrich Drepper2003-03-264-47/+51
| | | | | | | | Remove struct __pthread_attr_s forward declaration. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
* Remove struct __pthread_attr_s forward declaration.Ulrich Drepper2003-03-261-3/+0
|
* * csu/tst-atomic.c (do_test): Add some newRoland McGrath2003-03-264-32/+36
| | | | | | | | | | | | | | | | | | | | | | atomic_compare_and_exchange_val_acq, atomic_add_zero, atomic_compare_and_exchange_bool_acq and atomic_add_negative tests. * include/atomic.h (atomic_add_negative, atomic_add_zero): Prefix local variable so that it doesn't clash with the one in atomic_exchange_and_add. * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void * pointers. (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i. * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force value into register. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Cast newval to long. * sysdeps/x86_64/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to long. (atomic_exchange): Cast newvalue to long if sizeof == 8. (atomic_exchange_and_add): Cast value to long if sizeof == 8. (atomic_add, atomic_add_negative, atomic_add_zero): Likewise. (atomic_bit_set): Shift 1L up in all cases to shut up warnings.
* * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high orderRoland McGrath2003-03-262-12/+7
| | | | | | | | | bit from backtrace addresses. 2003-03-21 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned __chown symbols.
* *** empty log message ***Andreas Schwab2003-03-251-2/+2
| | | | | * sysdeps/m68k/m68020/bits/atomic.h: Fix typos. * include/atomic.h: Likewise.
* Define ret_NOERRNO.Andreas Schwab2003-03-251-0/+2
|
* 2003-03-25 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-251-24/+75
| | | | | | | | | | * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro. (__arch_atomic_exchange_64): New macro. (atomic_exchange): Use them. (__arch_atomic_exchange_and_add_32): New macro. (__arch_atomic_exchange_and_add_64): New macro. (atomic_exchange_and_add): Use them. Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
* (__TIMER_T_TYPE): Define as void*.Ulrich Drepper2003-03-252-4/+4
|
* * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): Define. * ↵Alexandre Oliva2003-03-254-18/+22
| | | | | | | | | | | | | | | | | | | sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all ISA tests. (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct old_kernel_sigaction): Likewise. 2003-03-25 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): Define. * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all ISA tests. (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct old_kernel_sigaction): Likewise.
* Update.Ulrich Drepper2003-03-252-8/+17
| | | | | | | | | | | | | | | | | | | | 2003-03-25 Ulrich Drepper <drepper@redhat.com> * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and atomic_add_zero were supposed to do. * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero to x86 behavior. * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. This matches the new timer implementation. * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust timer info for what the kernel provides these days. (struct sigevent): Add _tid field. Define SIGEV_THREAD_ID. * Versions.def (librt): Add GLIBC_2.3.3. * abilist/libpthread.abilist: Update for nptl.
* Update.Ulrich Drepper2003-03-251-2/+4
| | | | | | | | | | 2003-03-24 Jon Grimm <jgrimm@us.ibm.com> * inet/netinet/in.h: Add IPPROTO_SCTP. 2003-03-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
* Update.Ulrich Drepper2003-03-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2003-03-24 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL): Remove a1 from clobber list. 2003-03-24 Ulrich Drepper <drepper@redhat.com> * timezone/antarctica: Update from tzdata2003a. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
* Update.Ulrich Drepper2003-03-241-1/+1
| | | | | * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid unwanted expansion by definining to ret. Patch by Ian Wienand.
* Update.Ulrich Drepper2003-03-2318-15/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of the parameter description to denote no error checking. Generate appropriate pseudo asm code. * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'. * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid, getpgrp, and getppid with 'E'. * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, and ret_NOERRNO. * sysdeps/powerpc/powerpc64/sysdep.h: Likewise. * sysdeps/unix/sysdep.h: Likewise. * sysdeps/unix/alpha/sysdep.h: Likewise. * sysdeps/unix/sparc/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* Recognize 'E' in first position of the parameter description to denote no ↵Ulrich Drepper2003-03-231-3/+5
| | | | error checking. Generate appropriate pseudo asm code.
* * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. * ↵Alexandre Oliva2003-03-232-4/+4
| | | | | | | | | sysdeps/unix/sysv/linux/configure: Rebuilt. 2003-03-22 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. * sysdeps/unix/sysv/linux/configure: Rebuilt.
* * sysdeps/alpha/fpu/libm-test-ulps: Update.Roland McGrath2003-03-2312-125/+125
| | | | | | | | | | | | | | * sysdeps/arm/libm-test-ulps: Update. * sysdeps/hppa/fpu/libm-test-ulps: Update. * sysdeps/ia64/fpu/libm-test-ulps: Update. * sysdeps/mips/fpu/libm-test-ulps: Update. * sysdeps/powerpc/nofpu/libm-test-ulps: Update. * sysdeps/powerpc/fpu/libm-test-ulps: Update. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. * sysdeps/s390/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
* * include/atomic.h (atomic_increment_and_test): Invert sense of test.Roland McGrath2003-03-224-46/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add comment. (atomic_decrement_and_test): Add comment. 2003-03-22 Jakub Jelinek <jakub@redhat.com> * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment. Don't define if __arch_compare_and_exchange_val_32_acq is not defined. (atomic_compare_and_exchange_bool_acq): Add comment. Don't use __oldval variable in the macro, since it might be macro argument. (atomic_decrement_if_positive): Initialize __memp, remove setting of non-existent variable. (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting. * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement using atomic_compare_and_exchange_val_acq. (atomic_decrement_if_positive, atomic_bit_test_set): Define. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): Renamed from... (__arch_compare_and_exchange_bool_8_acq): ... this. (__arch_compare_and_exchange_val_16_acq): Renamed from... (__arch_compare_and_exchange_bool_16_acq): ... this. (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed from... (__arch_compare_and_exchange_bool_32_acq): ... this. (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed from... (__arch_compare_and_exchange_bool_64_acq): ... this. (__arch_compare_and_exchange_val_32_acq): Use __typeof for local variables types instead of assuming int. Change prefix of local variables to __arch. * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq): Remove. (atomic_compare_and_exchange_val_acq, atomic_compare_and_exchange_bool_acq): Define. * csu/tst-atomic.c: New test. * csu/tst-atomic-long.c: New test. * csu/Makefile (tests): Add tst-atomic and tst-atomic-long. * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong. * sysdeps/s390/Versions: Add trailing newline. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
* 2003-03-22 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-03-221-1/+1
| | | | * sysdeps/s390/Versions: Add trailing newline.
* * sysdeps/m68k/fpu/libm-test-ulps: Update.Andreas Schwab2003-03-221-17/+17
|
* * sysdeps/m68k/m68020/bits/atomic.h: New file.Andreas Schwab2003-03-221-64/+0
| | | | * sysdeps/m68k/m68020/atomicity.h: Removed.