svn commit: r288130 - projects/clang370-import/contrib/libc++/src/support
Dimitry Andric
dim at FreeBSD.org
Tue Sep 22 20:48:13 UTC 2015
Author: dim
Date: Tue Sep 22 20:48:12 2015
New Revision: 288130
URL: https://svnweb.freebsd.org/changeset/base/288130
Log:
Partially revert r288121, removing the workaround for arm < v6. Since
r288125, the required atomic library calls are available in compiler-rt.
The added stub for __libcpp_relaxed_store() can stay as a fallback; I
have also committed it upstream.
Modified:
projects/clang370-import/contrib/libc++/src/support/atomic_support.h
Modified: projects/clang370-import/contrib/libc++/src/support/atomic_support.h
==============================================================================
--- projects/clang370-import/contrib/libc++/src/support/atomic_support.h Tue Sep 22 20:45:04 2015 (r288129)
+++ projects/clang370-import/contrib/libc++/src/support/atomic_support.h Tue Sep 22 20:48:12 2015 (r288130)
@@ -13,8 +13,7 @@
&& defined(__ATOMIC_ACQUIRE) \
&& defined(__ATOMIC_RELEASE) \
&& defined(__ATOMIC_ACQ_REL) \
- && defined(__ATOMIC_SEQ_CST) \
- && defined(__ARM_ARCH) && __ARM_ARCH >= 6
+ && defined(__ATOMIC_SEQ_CST)
# define _LIBCPP_HAS_ATOMIC_BUILTINS
#elif !defined(__clang__) && defined(_GNUC_VER) && _GNUC_VER >= 407
# define _LIBCPP_HAS_ATOMIC_BUILTINS
More information about the svn-src-projects
mailing list