mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 01:21:06 +00:00
39793865ec
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 <libm-alias-double.h>. (frexp): Define using libm_alias_double. * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include <libm-alias-double.h>. (frexp): Define using libm_alias_double. * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc compat symbol here.
6 lines
169 B
C
6 lines
169 B
C
#include <math_ldbl_opt.h>
|
|
#include <sysdeps/ieee754/dbl-64/s_frexp.c>
|
|
#if LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)
|
|
compat_symbol (libc, __frexp, frexpl, GLIBC_2_0);
|
|
#endif
|