mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
1def91b304
Testing with changes to enable _Float128 function aliases shows that the libm_alias_ldouble_other usage in ldbl-opt/w_lgamma_compatl.c does not in fact work. Furthermore, it is unnecessary; the relevant aliases get created through w_lgammal_compat2.c. This patch removes the problem code. Tested with build-many-glibcs.py that installed stripped shared libraries are unchanged by the patch. Also tested in conjunction with patches to enable _Float128 function aliases. * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]: Remove conditional code.
12 lines
300 B
C
12 lines
300 B
C
#include <math_ldbl_opt.h>
|
|
#undef weak_alias
|
|
#define weak_alias(n,a)
|
|
#define USE_AS_COMPAT 1
|
|
#include <math/lgamma-compat.h>
|
|
#undef LGAMMA_OLD_VER
|
|
#define LGAMMA_OLD_VER LONG_DOUBLE_COMPAT_VERSION
|
|
#include <math/w_lgamma_compatl.c>
|
|
#if GAMMA_ALIAS
|
|
long_double_symbol (libm, __gammal, gammal);
|
|
#endif
|