summaryrefslogtreecommitdiff
path: root/libgo/config.h.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-02-12 06:23:08 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-02-12 06:23:08 +0000
commit12e3c3961436e0bc19f7fcbf7dd5ba6d556b0803 (patch)
treed088dbdf76ccf89230dc607d000488ace3bb43e9 /libgo/config.h.in
parent22d87829789be10d2b3a88c2ee6253d88ff88d6b (diff)
downloadgcc-12e3c3961436e0bc19f7fcbf7dd5ba6d556b0803.tar.gz
re PR go/52084 (go tests fail to link on powerpc-linux-gnu (undefined reference to __sync_add_and_fetch_8))
PR go/52084 libgo: Provide more __sync functions if required. From-SVN: r184138
Diffstat (limited to 'libgo/config.h.in')
-rw-r--r--libgo/config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgo/config.h.in b/libgo/config.h.in
index afbb9ee9c53..ae81ff45b47 100644
--- a/libgo/config.h.in
+++ b/libgo/config.h.in
@@ -105,10 +105,18 @@
/* Define to 1 if <math.h> defines struct exception */
#undef HAVE_STRUCT_EXCEPTION
+/* Define to 1 if the compiler provides the __sync_add_and_fetch function for
+ uint64 */
+#undef HAVE_SYNC_ADD_AND_FETCH_8
+
/* Define to 1 if the compiler provides the __sync_bool_compare_and_swap
function for uint32 */
#undef HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4
+/* Define to 1 if the compiler provides the __sync_bool_compare_and_swap
+ function for uint64 */
+#undef HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8
+
/* Define to 1 if the compiler provides the __sync_fetch_and_add function for
uint32 */
#undef HAVE_SYNC_FETCH_AND_ADD_4