Use libm_alias_double for dbl-64 frexp

System Internals / glibc - Joseph Myers [codesourcery.com] - 3 October 2017 16:56 EDT

This patch makes dbl-64 frexp use libm_alias_double. Both the dbl-64 and dbl-64/wordsize-64 versions are changed; the ldbl-opt version is made to define only the libc frexpl compat symbol, now the generic code handles the libm compat symbol automatically.

Tested for x86_64, and verified with build-many-glibcs.py that installed stripped shared libraries are unchanged by this patch.

- sysdeps/ieee754/dbl-64/s_frexp.c: Include . (frexp): Define using libm_alias_double.
- sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include . (frexp): Define using libm_alias_double.
- sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc compat symbol here.

3979386 Use libm_alias_double for dbl-64 frexp.
ChangeLog | 10 ++++++++++
sysdeps/ieee754/dbl-64/s_frexp.c | 7 ++-----
sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c | 7 ++-----
sysdeps/ieee754/ldbl-opt/s_frexp.c | 6 +-----
4 files changed, 15 insertions(+), 15 deletions(-)

Upstream: sourceware.org


  • Share