diff options
author | Torvald Riegel <triegel@redhat.com> | 2014-10-18 01:02:59 +0200 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2014-11-20 11:57:38 +0100 |
commit | 1ea339b69725cb2f30b5a84cb7ca96111c9a637b (patch) | |
tree | 130609da9190b04afb366f3a506d3415ea2f982f /ChangeLog | |
parent | d960211ff52a6ab632eace2f905c4898f187df9e (diff) | |
download | glibc-1ea339b69725cb2f30b5a84cb7ca96111c9a637b.zip glibc-1ea339b69725cb2f30b5a84cb7ca96111c9a637b.tar.gz glibc-1ea339b69725cb2f30b5a84cb7ca96111c9a637b.tar.bz2 |
Add arch-specific configuration for C11 atomics support.
This sets __HAVE_64B_ATOMICS if provided. It also sets
USE_ATOMIC_COMPILER_BUILTINS to true if the existing atomic ops use the
__atomic* builtins (aarch64, mips partially) or if this has been
tested (x86_64); otherwise, this is set to false so that C11 atomics will
be based on the existing atomic operations.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 45 |
1 files changed, 45 insertions, 0 deletions
@@ -1,3 +1,48 @@ +2014-11-20 Torvald Riegel <triegel@redhat.com> + + * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Define. + * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h + (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS, + USE_ATOMIC_COMPILER_BUILTINS): Likewise. + 2014-11-19 Roland McGrath <roland@hack.frob.com> * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate |