This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/sysdeps/sparc/sparc32/bits atomic.h
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 3 Jan 2006 23:38:10 -0000
- Subject: libc/sysdeps/sparc/sparc32/bits atomic.h
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2006-01-03 23:38:10
Modified files:
sysdeps/sparc/sparc32/bits: atomic.h
Log message:
Include stdint.h, add {,u}atomic*_t typedefs.
(__sparc32_atomic_do_lock): Add __volatile and memory clobber.
(__sparc32_atomic_do_unlock): Add memory barrier.
(__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
[!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
(__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
__v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
__v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
atomic_exchange_24_rel): Define.
[SHARED] (atomic_exchange_and_add): Define.
[!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
[!SHARED] (_dl_hwcap): New weak decl.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/sparc/sparc32/bits/atomic.h.diff?cvsroot=glibc&r1=1.3&r2=1.4