summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-09-27 09:54:19 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2017-09-27 09:55:45 +0100
commitd653a7d0f6e3dca8caf1bbb44f81a0f3af5c0a39 (patch)
tree631226ba12d315b1b39486ac9aa60180023ddfcf
parent49465364630917b0d410e374c9873e47dcb7c055 (diff)
downloadglibc-nsz/math2.tar.gz
e_exp2f.c: Support multiarchnsz/math2
This is to support compiling e_exp2f.c more than once for multiarch. * sysdeps/ieee754/flt-32/e_exp2f.c [__exp2f] (__ieee754_exp2f, __exp2f_finite, exp2f): Skip.
-rw-r--r--sysdeps/ieee754/flt-32/e_exp2f.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ieee754/flt-32/e_exp2f.c b/sysdeps/ieee754/flt-32/e_exp2f.c
index b53a919a0d..e54a88f692 100644
--- a/sysdeps/ieee754/flt-32/e_exp2f.c
+++ b/sysdeps/ieee754/flt-32/e_exp2f.c
@@ -86,6 +86,9 @@ __exp2f (float x)
y = y * s;
return (float) y;
}
+
+#ifndef __exp2f
strong_alias (__exp2f, __ieee754_exp2f)
strong_alias (__exp2f, __exp2f_finite)
versioned_symbol (libm, __exp2f, exp2f, GLIBC_2_27);
+#endif