diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c b/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c new file mode 100644 index 0000000000..2579600aa2 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c @@ -0,0 +1,19 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <math/w_remainderl_compat.c> +#if LIBM_SVID_COMPAT +/* 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. In any case, that + undefine and redefine mean _FloatN / _FloatNx aliases have not been + defined. */ +# undef weak_alias +# define weak_alias(name, aliasname) _weak_alias (name, aliasname) +# if !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) +weak_alias (__remainderl, remainderl) +# endif +strong_alias (__remainderl, __dreml) +long_double_symbol (libm, __dreml, dreml); +libm_alias_ldouble_other (__remainder, remainder) +#endif |