loongarch: Remove duplicate strnlen in libc.a (BZ 31785)

The generic version provides weak definitions of strnlen,
which are already provided by the ifunc resolver.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
Adhemerval Zanella 2024-05-22 10:21:10 -03:00
parent ef9596352b
commit 62eaa46739

View file

@ -98,5 +98,7 @@ L(out):
jr ra
END(STRNLEN)
#if !IS_IN (libc)
weak_alias (STRNLEN, strnlen)
libc_hidden_builtin_def (STRNLEN)
#endif