From 578e51e675c14da87e4850a62e36d9a13e9bbcd1 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Fri, 20 Sep 2013 23:37:56 +0000 Subject: [PATCH] pa-linux.h (TARGET_OS_CPP_BUILTINS): Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1... * 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 | 6 ++++++ gcc/config/pa/pa-linux.h | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 62576af4c6e..2358b4a74ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-09-20 John David Anglin + + * 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 Nick Clifton diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index fd4d22a7aad..c20c7ccd02f 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -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"); \ } \ -- 2.30.2