diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-12 06:23:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-12 06:23:08 +0000 |
commit | 12e3c3961436e0bc19f7fcbf7dd5ba6d556b0803 (patch) | |
tree | d088dbdf76ccf89230dc607d000488ace3bb43e9 /libgo/config.h.in | |
parent | 22d87829789be10d2b3a88c2ee6253d88ff88d6b (diff) | |
download | gcc-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.in | 8 |
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 |