[prev in list] [next in list] [prev in thread] [next in thread]
List: glibc-stable
Subject: [COMMITTED 2.39] LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking.
From: caiyinyu <caiyinyu () loongson ! cn>
Date: 2024-05-11 2:51:01
Message-ID: 20240511025100.958259-2-caiyinyu () loongson ! cn
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic