This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ARM: Fix compiler warnings from atomic.h


On Fri, 4 Jul 2014, Will Newton wrote:

> __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-04  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.

OK if you've verified there are no changes to installed shared libraries 
from this patch.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]