Fix s390 linknamespace fallout of bug 22702 patch.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 12 Jan 2018 00:12:57 +0000 (00:12 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 12 Jan 2018 00:12:57 +0000 (00:12 +0000)
commitc8924f1ff22cb78abc9bb950c3b23d8483ac7bba
treea20b011757be3a9e8bb289de1dd7e6f8fa41b220
parentda09e6fa2f8194fbdd82281195145aec195144dc
Fix s390 linknamespace fallout of bug 22702 patch.

My fix for bug 22702 introduced linknamespace test failures on
s390x-linux-gnu and s390-linux-gnu because it made remainder call
__feholdexcept, and the s390 __feholdexcept calls fegetenv, and
remainder is in Unix98 and XPG4.2 but fegetenv isn't.  This patch
makes __feholdexcept call __fegetenv instead to avoid that namespace
issue.

Tested (compilation) with build-many-glibcs.py for s390x-linux-gnu,
where it resolves the test failures.

* sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
instead of fegetenv.
ChangeLog
sysdeps/s390/fpu/feholdexcpt.c