public inbox for libc-stable@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED 2.39] LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking.
@ 2024-05-11  2:51 caiyinyu
  0 siblings, 0 replies; only message in thread
From: caiyinyu @ 2024-05-11  2:51 UTC (permalink / raw)
  To: libc-stable; +Cc: adhemerval.zanella, xry111, dengjianbo, caiyinyu

This patch from 095067efdf68c8061d6f99a21a0300841bede999 (LoongArch: Add
glibc.cpu.hwcap support.)

I apologize, you might receive this email twice. The first email did not
specify the branch for this patch submission. This patch needs to be
submitted to the release/2.39/master branch.

---
 sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h b/sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h
index cb640d77b7..a73390b12f 100644
--- a/sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h
+++ b/sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h
@@ -19,6 +19,9 @@
 #ifndef _DL_IFUNC_GENERIC_H
 #define _DL_IFUNC_GENERIC_H
 
+#ifndef SHARED
 asm ("memset = __memset_aligned");
+asm ("memcmp = __memcmp_aligned");
+#endif
 
 #endif
-- 
2.43.0


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

only message in thread, other threads:[~2024-05-11  2:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-11  2:51 [COMMITTED 2.39] LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking caiyinyu

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).