summaryrefslogtreecommitdiffstats
path: root/lib/msun/Symbol.map
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-10-10 15:43:09 +0000
committerdas <das@FreeBSD.org>2011-10-10 15:43:09 +0000
commita38603b0b57960e07b576fdc7c8ed64d919770d0 (patch)
treea50d2b89f2f16772503039f06c8507b9292a1daa /lib/msun/Symbol.map
parent768c3db25c16c726fe7df21f139f54cd6342dfbf (diff)
downloadFreeBSD-src-a38603b0b57960e07b576fdc7c8ed64d919770d0.zip
FreeBSD-src-a38603b0b57960e07b576fdc7c8ed64d919770d0.tar.gz
Provide external definitions of all of the standardized functions in
fenv.h that are currently inlined. The definitions are provided in fenv.c via 'extern inline' declaractions. This assumes the compiler handles 'extern inline' as specified in C99, which has been true under FreeBSD since 8.0. The goal is to eventually remove the 'static' keyword from the inline definitions in fenv.h, so that non-inlined references all wind up pointing to the same external definition like they're supposed to. I am deferring the second step to provide a window where newly-compiled apps will still link against old math libraries. (This isn't supported, but there's no need to cause undue breakage.) Reviewed by: stefanf, bde
Diffstat (limited to 'lib/msun/Symbol.map')
-rw-r--r--lib/msun/Symbol.map10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/msun/Symbol.map b/lib/msun/Symbol.map
index bb53ac3..cd823ae 100644
--- a/lib/msun/Symbol.map
+++ b/lib/msun/Symbol.map
@@ -228,3 +228,13 @@ FBSD_1.2 {
log2;
log2f;
};
+
+/* First added in 10.0-CURRENT */
+FBSD_1.3 {
+ feclearexcept;
+ fegetexceptflag;
+ fetestexcept;
+ fegetround;
+ fesetround;
+ fesetenv;
+};
OpenPOWER on IntegriCloud