aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2013-09-20 23:37:56 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2013-09-20 23:37:56 +0000
commit578e51e675c14da87e4850a62e36d9a13e9bbcd1 (patch)
tree87175cdd90557ff6af884e6ed79c2b4b58c99fb3 /gcc/config
parent6fcd3a1318360fd4c1dfe2f21308e97eeb2884eb (diff)
downloadgcc-578e51e675c14da87e4850a62e36d9a13e9bbcd1.zip
gcc-578e51e675c14da87e4850a62e36d9a13e9bbcd1.tar.gz
gcc-578e51e675c14da87e4850a62e36d9a13e9bbcd1.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/pa-linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h
index fd4d22a..c20c7cc 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"); \
} \