mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 01:40:07 +00:00
4699cb8b5f
This patch makes dbl-64 logb use libm_alias_double. Both the dbl-64 and dbl-64/wordsize-64 versions are changed, and the ldbl-opt version is removed. Because of multiarch wrappers, the changed implementations are made not to define aliases at all if __logb is defined as a macro, as with other functions, so avoiding duplicate compat symbols while allowing those wrappers to be simplified. Tested for x86_64, and verified with build-many-glibcs.py that installed stripped shared libraries are unchanged (except on alpha where changes from using the wordsize-64 version are expected). * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>. (logb): Define using libm_alias_double, only if [!__logb]. * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include <libm-alias-double.h>. (logb): Define using libm_alias_double, only if [!__logb]. * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c (weak_alias): Do not undefine and redefine. (strong_alias): Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c (weak_alias): Likewise. (strong_alias): Likewise. |
||
---|---|---|
.. | ||
e_acosh.c | ||
e_cosh.c | ||
e_fmod.c | ||
e_log2.c | ||
e_log10.c | ||
s_ceil.c | ||
s_finite.c | ||
s_floor.c | ||
s_frexp.c | ||
s_getpayload.c | ||
s_isinf.c | ||
s_isnan.c | ||
s_issignaling.c | ||
s_llround.c | ||
s_logb.c | ||
s_lround.c | ||
s_modf.c | ||
s_nearbyint.c | ||
s_remquo.c | ||
s_rint.c | ||
s_round.c | ||
s_roundeven.c | ||
s_scalbln.c | ||
s_scalbn.c | ||
s_setpayload_main.c | ||
s_totalorder.c | ||
s_totalordermag.c | ||
s_trunc.c |