mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Fix powerpc-nofpu fesetenv namespace (bug 17748).
When fixing namespace issues for <fenv.h> functions I missed one call to fesetenv for powerpc-nofpu. This patch changes this to a call to __fesetenv. Tested for powerpc-nofpu; it fixes the previously observed math.h linknamespace test failures. [BZ #17748] * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call __fesetenv instead of fesetenv.
This commit is contained in:
parent
d639a36345
commit
53fbd16918
@ -1,3 +1,9 @@
|
||||
2015-01-14 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #17748]
|
||||
* sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
|
||||
__fesetenv instead of fesetenv.
|
||||
|
||||
2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
|
||||
|
@ -36,7 +36,7 @@ __feholdexcept (fenv_t *envp)
|
||||
u.l[1] = FE_ALL_EXCEPT;
|
||||
|
||||
/* Put the new state in effect. */
|
||||
fesetenv (&u.fenv);
|
||||
__fesetenv (&u.fenv);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user