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
This commit is contained in:
John David Anglin 2013-09-20 23:37:56 +00:00
parent 6fcd3a1318
commit 578e51e675
2 changed files with 9 additions and 0 deletions

View 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>

View 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"); \
} \