freebsd-dev/lib/libcompiler_rt
Ed Schouten 0315980bb8 Unbreak <stdatomic.h> on ARM + Clang.
Clang only supports atomic operations for ARMv6. For non-ARMv6, we still
need to emit these functions.

Clang's prototype for these functions slightly differs, as it is truly
based on GCC's documentation. It requires the use of signed types, but
also requires varargs. Still, we are not allowed to simply implement
this function directly. Cleverly work around this by implementing it
under a different name and using __strong_reference().
2013-04-27 04:56:02 +00:00
..
__sync_fetch_and_add_4.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_add_8.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_and_4.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_and_8.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_op_n.h Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_or_4.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_or_8.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_sub_4.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_sub_8.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_xor_4.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_fetch_and_xor_8.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_lock_test_and_set_4.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_lock_test_and_set_8.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_val_compare_and_swap_4.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_val_compare_and_swap_8.c Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
__sync_val_compare_and_swap_n.h Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00
Makefile Unbreak <stdatomic.h> on ARM + Clang. 2013-04-27 04:56:02 +00:00