* sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int): ...
authorRichard Henderson <rth@redhat.com>
Tue, 13 Jan 2004 09:15:58 +0000 (09:15 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 13 Jan 2004 09:15:58 +0000 (09:15 +0000)
commit141749ca169d3a5f3a328d3cb91473e3af4256b1
tree71d67ad08bbdd27d1e3c93665d0c9d03b337e919
parent1705f0a392f382bf3facda8d95cc7547ef708bf7
    * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int):         Cast old up to uint64_t before back down to inner width.         (__arch_compare_and_exchange_xxx_16_int): Likewise.         (__arch_compare_and_exchange_xxx_32_int): Likewise.         (__arch_compare_and_exchange_xxx_64_int): Likewise.         (__arch_compare_and_exchange_val_8_int): Cast result to         the type of the memory.         (__arch_compare_and_exchange_val_16_int): Likewise.         (__arch_compare_and_exchange_val_32_int): Likewise.         (__arch_compare_and_exchange_val_64_int): Likewise.         (atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize.         (atomic_compare_and_exchange_bool_rel): Likewise.

        * sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm
        based on HAVE___THREAD instead of USE_TLS.

        * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New.
        (__adjtimex_tv64): Use it.

        * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast
        to void* rather than directly to the compatibility structure type.
        * sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise.

        * sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction):
        Forward declare.
* sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int):
Cast old up to uint64_t before back down to inner width.
(__arch_compare_and_exchange_xxx_16_int): Likewise.
(__arch_compare_and_exchange_xxx_32_int): Likewise.
(__arch_compare_and_exchange_xxx_64_int): Likewise.
(__arch_compare_and_exchange_val_8_int): Cast result to
the type of the memory.
(__arch_compare_and_exchange_val_16_int): Likewise.
(__arch_compare_and_exchange_val_32_int): Likewise.
(__arch_compare_and_exchange_val_64_int): Likewise.
(atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize.
(atomic_compare_and_exchange_bool_rel): Likewise.

* sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm
based on HAVE___THREAD instead of USE_TLS.

* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New.
(__adjtimex_tv64): Use it.

* sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast
to void* rather than directly to the compatibility structure type.
* sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise.

* sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction):
Forward declare.

2004-01-13  Richard Henderson  <rth@redhat.com>

    Paolo Bonzini  <bonzini@gnu.org>
Compare the node sets after all the other comparisons.
the old thread-m.h header too.
ChangeLog
sysdeps/alpha/bits/atomic.h
sysdeps/alpha/fpu/bits/mathdef.h
sysdeps/unix/alpha/sysdep.h
sysdeps/unix/sysv/linux/alpha/adjtime.c
sysdeps/unix/sysv/linux/alpha/semctl.c
sysdeps/unix/sysv/linux/alpha/shmctl.c
sysdeps/unix/sysv/linux/alpha/sigaction.c