[PATCH] hppa: fix __O_SYNC to match the kernel
Carlos O'Donell
carlos@redhat.com
Wed Mar 11 06:29:00 GMT 2015
On 03/07/2015 12:13 PM, John David Anglin wrote:
> On 2015-02-27, at 1:53 AM, Mike Frysinger wrote:
>
>> On 24 Feb 2015 09:48, John David Anglin wrote:
>>> Mike, thanks for sending this change. Reminds me I should go through
>>> the Debian glibc
>>> patches and see what else needs sending.
>>
>> this should be an easy one:
>> https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1c1d3f4f11b4a911a3b6ffab0aac61d5f8e02873
>>
>> if you could provide context, i could shepherd it through.
>> -mike
>
>
> Attached is an updated patch. It fixes the saving and updating of the floating-point environment
> in feholdexcept and fesetenv. The glibc test "test-fenv" passes with this change.
>
> The patch has been tested with Debian glibc 2.19-15+b1 with no observed regressions.
Applied.
commit fae1aa8d226ce860124efd67ede03004b19b89e2
Author: John David Anglin <danglin@gcc.gnu.org>
Date: Tue Mar 10 23:43:50 2015 -0400
hppa: Fix feholdexcpt and fesetenv (Bug 18110).
The constraints in the inline assembly in feholdexcept and fesetenv
are incorrect. The assembly modifies the buffer pointer, but doesn't
express that in the constraints. The simple fix is to remove the
modification of the buffer pointer which is no longer required by
the existing code, and adjust the one constraint that did express
the modification of bufptr.
The change fixes test-fenv when glibc is compiled with recent gcc.
Cheers,
Carlos.
More information about the Libc-alpha
mailing list