Use libm_alias_float for aarch64.
commit15ff490014c4953f4bbf06b80f61bfa0ebb33187
authorJoseph Myers <joseph@codesourcery.com>
Tue, 28 Nov 2017 00:55:42 +0000 (28 00:55 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 28 Nov 2017 00:55:42 +0000 (28 00:55 +0000)
tree80a356f4129d54b08dd79dfdcc6955fb49c25ca4
parent5de606387b60d57399e61bdb78d6697139ceb445
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.
14 files changed:
ChangeLog
sysdeps/aarch64/fpu/s_ceilf.c
sysdeps/aarch64/fpu/s_floorf.c
sysdeps/aarch64/fpu/s_fmaf.c
sysdeps/aarch64/fpu/s_fmaxf.c
sysdeps/aarch64/fpu/s_fminf.c
sysdeps/aarch64/fpu/s_llrintf.c
sysdeps/aarch64/fpu/s_llroundf.c
sysdeps/aarch64/fpu/s_lrintf.c
sysdeps/aarch64/fpu/s_lroundf.c
sysdeps/aarch64/fpu/s_nearbyintf.c
sysdeps/aarch64/fpu/s_rintf.c
sysdeps/aarch64/fpu/s_roundf.c
sysdeps/aarch64/fpu/s_truncf.c