@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__ceilf (float x)
@@ -24,4 +25,4 @@ __ceilf (float x)
return __builtin_ceilf (x);
}
-weak_alias (__ceilf, ceilf)
+libm_alias_float (__ceil, ceil)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__floorf (float x)
@@ -24,4 +25,4 @@ __floorf (float x)
return __builtin_floorf (x);
}
-weak_alias (__floorf, floorf)
+libm_alias_float (__floor, floor)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__fmaf (float x, float y, float z)
@@ -24,4 +25,4 @@ __fmaf (float x, float y, float z)
return __builtin_fmaf (x, y, z);
}
-weak_alias (__fmaf, fmaf)
+libm_alias_float (__fma, fma)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__fmaxf (float x, float y)
@@ -24,4 +25,4 @@ __fmaxf (float x, float y)
return __builtin_fmaxf (x, y);
}
-weak_alias (__fmaxf, fmaxf)
+libm_alias_float (__fmax, fmax)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__fminf (float x, float y)
@@ -24,4 +25,4 @@ __fminf (float x, float y)
return __builtin_fminf (x, y);
}
-weak_alias (__fminf, fminf)
+libm_alias_float (__fmin, fmin)
@@ -18,6 +18,7 @@
#include <math.h>
#include <math_private.h>
+#include <libm-alias-float.h>
long long int
__llrintf (float x)
@@ -32,4 +33,4 @@ __llrintf (float x)
return r;
}
-weak_alias (__llrintf, llrintf)
+libm_alias_float (__llrint, llrint)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
long long int
__llroundf (float x)
@@ -24,4 +25,4 @@ __llroundf (float x)
return __builtin_llroundf (x);
}
-weak_alias (__llroundf, llroundf)
+libm_alias_float (__llround, llround)
@@ -18,6 +18,7 @@
#include <math.h>
#include <math_private.h>
+#include <libm-alias-float.h>
long int
__lrintf (float x)
@@ -31,4 +32,4 @@ __lrintf (float x)
return r;
}
-weak_alias (__lrintf, lrintf)
+libm_alias_float (__lrint, lrint)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
long int
__lroundf (float x)
@@ -24,4 +25,4 @@ __lroundf (float x)
return __builtin_lroundf (x);
}
-weak_alias (__lroundf, lroundf)
+libm_alias_float (__lround, lround)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__nearbyintf (float x)
@@ -24,4 +25,4 @@ __nearbyintf (float x)
return __builtin_nearbyintf (x);
}
-weak_alias (__nearbyintf, nearbyintf)
+libm_alias_float (__nearbyint, nearbyint)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__rintf (float x)
@@ -24,4 +25,4 @@ __rintf (float x)
return __builtin_rintf (x);
}
-weak_alias (__rintf, rintf)
+libm_alias_float (__rint, rint)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__roundf (float x)
@@ -24,4 +25,4 @@ __roundf (float x)
return __builtin_roundf (x);
}
-weak_alias (__roundf, roundf)
+libm_alias_float (__round, round)
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__truncf (float x)
@@ -24,4 +25,4 @@ __truncf (float x)
return __builtin_truncf (x);
}
-weak_alias (__truncf, truncf)
+libm_alias_float (__trunc, trunc)