mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 20:51:11 +00:00
f8718a9e16
This patch makes ldbl-64-128/s_nextafterl.c restore the default weak_alias definition and use libm_alias_ldouble_other (having undefined and redefined weak_alias for the include of ldbl-128/s_nextafterl.c, so the libm_alias_ldouble use in the latter file is ineffective). Tested with build-many-glibcs.py that installed stripped shared libraries are unchanged by this patch. Also tested together with changes to enable float128 aliases. * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias): Undefine and restore default definition. Use libm_alias_ldouble_other.
10 lines
362 B
C
10 lines
362 B
C
#include <math_ldbl_opt.h>
|
|
#undef weak_alias
|
|
#define weak_alias(n,a)
|
|
#include <sysdeps/ieee754/ldbl-128/s_nextafterl.c>
|
|
long_double_symbol (libm, __nextafterl, nextafterl);
|
|
long_double_symbol (libm, __nexttowardl, nexttowardl);
|
|
#undef weak_alias
|
|
#define weak_alias(name, aliasname) _weak_alias (name, aliasname)
|
|
libm_alias_ldouble_other (__nextafter, nextafter)
|