Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2015 20:48:12 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r288130 - projects/clang370-import/contrib/libc++/src/support
Message-ID:  <201509222048.t8MKmCl0033740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509222048.t8MKmCl0033740>