diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-11-04 17:19:13 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-11-04 17:19:13 +0000 |
commit | 860aacdad2d52af48bc549650726b29510feaba6 (patch) | |
tree | 9917522a27a71d263d632c4ca218c6be744e6a2f /elf/tst-tlsmod15a.c | |
parent | 799131036e53c0536d0ce796e705f8dc295eeba2 (diff) | |
download | glibc-860aacdad2d52af48bc549650726b29510feaba6.tar glibc-860aacdad2d52af48bc549650726b29510feaba6.tar.gz glibc-860aacdad2d52af48bc549650726b29510feaba6.tar.bz2 glibc-860aacdad2d52af48bc549650726b29510feaba6.zip |
Fix alpha sqrt fegetenv namespace (bug 20768).
On alpha, sqrt (a C90 function) brings in references to fegetenv
(C99), resulting in linknamespace test failures:
[initial] __sqrt -> [libm.a(w_sqrt.o)] __ieee754_sqrt ->
[libm.a(e_sqrt.o)] __feholdexcept -> [libm.a(feholdexcpt.o)] fegetenv
This patch fixes this by making __feholdexcept call __fegetenv instead
of fegetenv.
Tested for Alpha (compilation only).
[BZ #20768]
* sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
__fegetenv instead of fegetenv.
Diffstat (limited to 'elf/tst-tlsmod15a.c')
0 files changed, 0 insertions, 0 deletions