diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c b/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c index 9314117eda..bb9bac0db7 100644 --- a/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c +++ b/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c @@ -3,6 +3,14 @@ #define weak_alias(n,a) #include <math/w_remainderl_compat.c> #if LIBM_SVID_COMPAT +# if !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) +/* If ldbl-opt is used without special versioning for remainderl being + required, the generic code does not define remainderl because of + the undefine and redefine of weak_alias above. */ +# undef weak_alias +# define weak_alias(name, aliasname) _weak_alias (name, aliasname) +weak_alias (__remainderl, remainderl) +# endif strong_alias (__remainderl, __dreml) long_double_symbol (libm, __dreml, dreml); #endif |