hppa: Fix feupdateenv and fesetexceptflag (Bug 18111).
commite4363cfb5760d88a9f353c69383b15d5c2705070
authorCarlos O'Donell <carlos@systemhalted.org>
Wed, 11 Mar 2015 06:42:27 +0000 (11 02:42 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Wed, 11 Mar 2015 06:48:59 +0000 (11 02:48 -0400)
treed45136a41ea523d4ee293b62fcbe98b2095a16d6
parentfae1aa8d226ce860124efd67ede03004b19b89e2
hppa: Fix feupdateenv and fesetexceptflag (Bug 18111).

The function feupdateenv has been fixed to correctly handle FE_DFL_ENV
and FE_NOMASK_ENV.

The fesetexceptflag function has been fixed to correctly handle setting
the new flags instead of just OR-ing the existing flags.

This fixes the test-fenv-return and test-fenvinline failures on hppa.
ChangeLog
NEWS
sysdeps/hppa/fpu/feupdateenv.c
sysdeps/hppa/fpu/fpu_control.h
sysdeps/hppa/fpu/fsetexcptflg.c