]> sourceware.org Git - glibc.git/commitdiff
loongarch: Remove duplicate strnlen in libc.a (BZ 31785)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 22 May 2024 13:21:10 +0000 (10:21 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 23 May 2024 12:36:08 +0000 (09:36 -0300)
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>
sysdeps/loongarch/lp64/multiarch/strnlen-aligned.S

index 9826d21c2ead0946375bd6e5911a3809084480ae..3606225ca211791f61e545ebdbc213fffa54d310 100644 (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
This page took 0.04593 seconds and 5 git commands to generate.