]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa-linux.h (TARGET_OS_CPP_BUILTINS): Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1...
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 20 Sep 2013 23:37:56 +0000 (23:37 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 20 Sep 2013 23:37:56 +0000 (23:37 +0000)
* config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Define
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2,
and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.

From-SVN: r202803

gcc/ChangeLog
gcc/config/pa/pa-linux.h

index 62576af4c6e6472d3e635bba0946449a67417067..2358b4a74ab7ca67ec6226f348db754d247ca4b1 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-20  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Define
+       __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2,
+       and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
+
 2013-09-20  DJ Delorie  <dj@redhat.com>
             Nick Clifton  <nickc@redhat.com>
 
index fd4d22a7aad6c10a9ea8fc255fa2fe278a3994ec..c20c7ccd02f34c16f7a26453fd5cb7705f005987 100644 (file)
@@ -22,6 +22,9 @@ along with GCC; see the file COPYING3.  If not see
 #define TARGET_OS_CPP_BUILTINS()               \
   do                                           \
     {                                          \
+       builtin_define ("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1");  \
+       builtin_define ("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2");  \
+       builtin_define ("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4");  \
        GNU_USER_TARGET_OS_CPP_BUILTINS();      \
        builtin_assert ("machine=bigendian");   \
     }                                          \