public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] loongarch: Remove duplicate strnlen in libc.a (BZ 31785)
@ 2024-05-23 12:36 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2024-05-23 12:36 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=62eaa4673923bd8b91a5f961828b75bcce10beb7

commit 62eaa4673923bd8b91a5f961828b75bcce10beb7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed May 22 10:21:10 2024 -0300

    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>

Diff:
---
 sysdeps/loongarch/lp64/multiarch/strnlen-aligned.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sysdeps/loongarch/lp64/multiarch/strnlen-aligned.S b/sysdeps/loongarch/lp64/multiarch/strnlen-aligned.S
index 9826d21c2e..3606225ca2 100644
--- a/sysdeps/loongarch/lp64/multiarch/strnlen-aligned.S
+++ b/sysdeps/loongarch/lp64/multiarch/strnlen-aligned.S
@@ -98,5 +98,7 @@ L(out):
     jr          ra
 END(STRNLEN)
 
+#if !IS_IN (libc)
 weak_alias (STRNLEN, strnlen)
 libc_hidden_builtin_def (STRNLEN)
+#endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-23 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-23 12:36 [glibc] loongarch: Remove duplicate strnlen in libc.a (BZ 31785) Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).