OpenLibm/amd64
Tim Besard be31bff11d Revert "Export `fenv` functions on all platforms (#213)"
The implementation of `fesetenv` cannot be portable, as the value of
`FE_DFL_ENV` differs between platforms. On FreeBSD, it is a actual
environment. With glibc however, it's a sentinel -1 handled in the
implementation of its floating point functions.

With openlibm based on FreeBSD's libm, it assumes `FE_DFL_ENV` to be an
actual environment. That assumption breaks using code that was compiled
against glibc, e.g., `libcuda`:

```
Thread 1 "julia-debug" received signal SIGSEGV, Segmentation fault.
0x00007ffff7b855d0 in fesetenv () from /home/tim/Julia/julia/build/release/usr/bin/../lib/libopenlibm.so
(gdb) bt
```

This reverts commit 5a27b4c0c0.

Fixes https://github.com/JuliaLang/julia/issues/38427.
2020-11-16 09:17:49 +01:00
..
Make.files Add fpu.h 2012-08-19 13:13:52 +05:30
bsd_asm.h Fix undefined reference to __fpgetprec on i386 2016-06-23 23:32:31 -04:00
bsd_fpu.h Change some #ifdefs to be different than the system ones. 2016-02-27 19:52:44 +05:30
bsd_ieeefp.h Change some #ifdefs to be different than the system ones. 2016-02-27 19:52:44 +05:30
e_remainder.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
e_remainderf.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
e_remainderl.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
e_sqrt.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
e_sqrtf.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
e_sqrtl.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
fenv.c Revert "Export `fenv` functions on all platforms (#213)" 2020-11-16 09:17:49 +01:00
s_llrint.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_llrintf.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_llrintl.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_logbl.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_lrint.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_lrintf.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_lrintl.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_remquo.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_remquof.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_remquol.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_rintl.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_scalbn.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_scalbnf.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00
s_scalbnl.S Enable stack protection for all ELFs, not only __linux__ 2015-11-10 21:39:17 +02:00