2014-07-17 Will Newton <will.newton@linaro.org>
+ * sysdeps/arm/bits/atomic.h
+ (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
+ (__arch_compare_and_exchange_bool_16_int): Likewise.
+ (__arch_compare_and_exchange_bool_64_int): Likewise.
+
* iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
into an #else block.
For all "bool" routines, we return FALSE if exchange succesful. */
# define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
- ({__arm_link_error (); oldval; })
+ ({__arm_link_error (); 0; })
# define __arch_compare_and_exchange_bool_16_int(mem, newval, oldval, model) \
- ({__arm_link_error (); oldval; })
+ ({__arm_link_error (); 0; })
# define __arch_compare_and_exchange_bool_32_int(mem, newval, oldval, model) \
({ \
})
# define __arch_compare_and_exchange_bool_64_int(mem, newval, oldval, model) \
- ({__arm_link_error (); oldval; })
+ ({__arm_link_error (); 0; })
# define __arch_compare_and_exchange_val_8_int(mem, newval, oldval, model) \
({__arm_link_error (); oldval; })