about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-07-04 16:10:15 +0100
committerWill Newton <will.newton@linaro.org>2014-07-17 11:36:31 +0100
commit57977c4bf379c7f0b3dcf8b9a97a76214bfdf677 (patch)
tree189c50e49ec7ee60687d60fed3cb2b82e1044472 /ChangeLog
parent32bead5b6d6edc4421a8ca628ce7dc14d435202a (diff)
downloadglibc-57977c4bf379c7f0b3dcf8b9a97a76214bfdf677.tar.gz
glibc-57977c4bf379c7f0b3dcf8b9a97a76214bfdf677.tar.xz
glibc-57977c4bf379c7f0b3dcf8b9a97a76214bfdf677.zip
ARM: Fix compiler warnings from atomic.h
__arch_compare_and_exchange_bool_*_int return a boolean so in the
dummy implementations for 8, 16 and 64 bits return zero rather than
oldval. Zero is used rather than TRUE or FALSE to avoid needing to
including any headers for these dummy functions.

ChangeLog:

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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c9b2c3a3b..3c0b5aeb5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.