Don't provide XXXf128_do_not_use aliases [BZ #31757]

Don't provide __nexttowardf128_do_not_use, nexttowardf128_do_not_use,
finitef128_do_not_use, isinff128_do_not_use and isnanf128_do_not_use.
This fixes BZ #31757.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
H.J. Lu 2024-05-20 05:25:34 -07:00
parent a34f76edbd
commit 43d41ae6d7
4 changed files with 10 additions and 0 deletions

View File

@ -16,7 +16,9 @@ hidden_ver (__isnanf128_impl, __isnanf128)
#else #else
strong_alias (__isnanf128_impl, __isnanf128) strong_alias (__isnanf128_impl, __isnanf128)
#endif #endif
#ifndef isnanl
_weak_alias (__isnanf128_impl, isnanl) _weak_alias (__isnanf128_impl, isnanl)
#endif
versioned_symbol (libc, __isnanf128_impl, __isnanf128, GLIBC_2_34); versioned_symbol (libc, __isnanf128_impl, __isnanf128, GLIBC_2_34);
#if (SHLIB_COMPAT (libc, FLOAT128_VERSION_M, GLIBC_2_34)) #if (SHLIB_COMPAT (libc, FLOAT128_VERSION_M, GLIBC_2_34))
strong_alias (__isnanf128_impl, __isnanf128_alias) strong_alias (__isnanf128_impl, __isnanf128_alias)

View File

@ -32,4 +32,6 @@ int __finitel(_Float128 x)
-0x7fff000000000000LL)>>63); -0x7fff000000000000LL)>>63);
} }
mathx_hidden_def (__finitel) mathx_hidden_def (__finitel)
#ifndef finitel
weak_alias (__finitel, finitel) weak_alias (__finitel, finitel)
#endif

View File

@ -24,4 +24,6 @@ __isinfl (_Float128 x)
return ~(lx >> 63) & (hx >> 62); return ~(lx >> 63) & (hx >> 62);
} }
mathx_hidden_def (__isinfl) mathx_hidden_def (__isinfl)
#ifndef isinfl
weak_alias (__isinfl, isinfl) weak_alias (__isinfl, isinfl)
#endif

View File

@ -83,5 +83,9 @@ _Float128 __nextafterl(_Float128 x, _Float128 y)
return x; return x;
} }
libm_alias_ldouble (__nextafter, nextafter) libm_alias_ldouble (__nextafter, nextafter)
#ifndef __nexttowardl
strong_alias (__nextafterl, __nexttowardl) strong_alias (__nextafterl, __nexttowardl)
#endif
#ifndef nexttowardl
weak_alias (__nextafterl, nexttowardl) weak_alias (__nextafterl, nexttowardl)
#endif