This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] ARM: Fix compiler warnings from atomic.h
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 16 Jul 2014 21:05:03 +0000
- Subject: Re: [PATCH] ARM: Fix compiler warnings from atomic.h
- Authentication-results: sourceware.org; auth=none
- References: <1404486860-9676-1-git-send-email-will dot newton at linaro dot org>
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