diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-11-28 00:55:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-11-28 00:55:42 +0000 |
commit | 15ff490014c4953f4bbf06b80f61bfa0ebb33187 (patch) | |
tree | 80a356f4129d54b08dd79dfdcc6955fb49c25ca4 /sysdeps/aarch64/fpu/s_fmaxf.c | |
parent | 5de606387b60d57399e61bdb78d6697139ceb445 (diff) | |
download | glibc-15ff490014c4953f4bbf06b80f61bfa0ebb33187.tar.gz |
Use libm_alias_float for aarch64.
Continuing the preparation for additional _FloatN / _FloatNx function
aliases, this patch makes aarch64 libm function implementations use
libm_alias_float to define function aliases.
Tested with build-many-glibcs.py for aarch64-linux-gnu that installed
stripped shared libraries are unchanged by the patch.
* sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
(ceilf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
(floorf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
(fmaf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
(fmaxf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
(fminf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
(llrintf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
(llroundf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
(lrintf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
(lroundf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_nearbyintf.c: Include
<libm-alias-float.h>.
(nearbyintf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
(rintf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
(roundf): Define using libm_alias_float.
* sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
(truncf): Define using libm_alias_float.
Diffstat (limited to 'sysdeps/aarch64/fpu/s_fmaxf.c')
-rw-r--r-- | sysdeps/aarch64/fpu/s_fmaxf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/aarch64/fpu/s_fmaxf.c b/sysdeps/aarch64/fpu/s_fmaxf.c index ec4dcdd8c0..56a1a48dbd 100644 --- a/sysdeps/aarch64/fpu/s_fmaxf.c +++ b/sysdeps/aarch64/fpu/s_fmaxf.c @@ -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) |