Add arch-specific configuration for C11 atomics support.
commit1ea339b69725cb2f30b5a84cb7ca96111c9a637b
authorTorvald Riegel <triegel@redhat.com>
Fri, 17 Oct 2014 23:02:59 +0000 (18 01:02 +0200)
committerTorvald Riegel <triegel@redhat.com>
Thu, 20 Nov 2014 10:57:38 +0000 (20 11:57 +0100)
tree130609da9190b04afb366f3a506d3415ea2f982f
parentd960211ff52a6ab632eace2f905c4898f187df9e
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.
22 files changed:
ChangeLog
sysdeps/aarch64/bits/atomic.h
sysdeps/alpha/bits/atomic.h
sysdeps/arm/bits/atomic.h
sysdeps/i386/i486/bits/atomic.h
sysdeps/ia64/bits/atomic.h
sysdeps/m68k/coldfire/bits/atomic.h
sysdeps/m68k/m680x0/m68020/bits/atomic.h
sysdeps/microblaze/bits/atomic.h
sysdeps/mips/bits/atomic.h
sysdeps/powerpc/powerpc32/bits/atomic.h
sysdeps/powerpc/powerpc64/bits/atomic.h
sysdeps/s390/bits/atomic.h
sysdeps/sparc/sparc32/bits/atomic.h
sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
sysdeps/sparc/sparc64/bits/atomic.h
sysdeps/tile/tilegx/bits/atomic.h
sysdeps/tile/tilepro/bits/atomic.h
sysdeps/unix/sysv/linux/hppa/bits/atomic.h
sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
sysdeps/unix/sysv/linux/sh/bits/atomic.h
sysdeps/x86_64/bits/atomic.h