aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Versions (renamed from math/libm.map)49
1 files changed, 36 insertions, 13 deletions
diff --git a/math/libm.map b/math/Versions
index 3fc4167..9c71d32 100644
--- a/math/libm.map
+++ b/math/Versions
@@ -1,5 +1,35 @@
-GLIBC_2.0 {
- global:
+libc {
+ GLIBC_2.0 {
+ # functions used in inline functions or macros
+ __isnan; __isnanf; __isnanl; __finite; __finitef; __finitel;
+ __isinf; __isinff; __isinfl;
+
+ # c*
+ copysign; copysignf; copysignl;
+
+ # f*
+ finite; finitef; finitel; frexp; frexpf; frexpl;
+
+ # i*
+ isinf; isinff; isinfl; isnan; isnanf; isnanl; ldexp; ldexpf; ldexpl;
+
+ # m*
+ modf; modff; modfl;
+
+ # s*
+ scalbn; scalbnf; scalbnl;
+ }
+ GLIBC_2.1 {
+ # functions used in inline functions or macros
+ __signbit; __signbitf; __signbitl;
+
+ # s*
+ scalbln; scalblnf; scalblnl;
+ }
+}
+
+libm {
+ GLIBC_2.0 {
# mathematical functions
acos; acosf; acosl;
acosh; acoshf; acoshl;
@@ -61,15 +91,8 @@ GLIBC_2.0 {
# functions used in inline functions or macros
__log1p; __atan2;
-
- local:
- *;
-};
-
-
-GLIBC_2.1 {
- global:
-
+ }
+ GLIBC_2.1 {
# mathematical functions
exp2; exp2f; exp2l;
exp10; exp10f; exp10l;
@@ -131,5 +154,5 @@ GLIBC_2.1 {
# symbols used in macros from sysdeps/powerpc/bits/fenv.h
__fe_dfl_env; __fe_enabled_env; __fe_nonieee_env; __fe_nomask_env;
-
-} GLIBC_2.0;
+ }
+}