fec1cd8ce1
Upstream commit: 6ade91c21140d8c803c289932dbfc74537f65a1f - elf: Avoid some free (NULL) calls in _dl_update_slotinfo - misc: Add support for Linux uio.h RWF_NOAPPEND flag - i386: Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782) - Reinstate generic features-time64.h - Always define __USE_TIME_BITS64 when 64 bit time_t is used - socket: Use may_alias on sockaddr structs (bug 19622) - parse_fdinfo: Don't advance pointer twice [BZ #31798] - LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking. - socket: Add new test for connect - libsupport: Add xgetpeername - x86_64: Fix missing wcsncat function definition without multiarch (x86-64-v4)
24 lines
804 B
Diff
24 lines
804 B
Diff
commit c7c3f5bf80ae86b34501f473f1a9fc545c911b7f
|
|
Author: caiyinyu <caiyinyu@loongson.cn>
|
|
Date: Sat May 11 10:25:54 2024 +0800
|
|
|
|
LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking.
|
|
|
|
This patch from 095067efdf68c8061d6f99a21a0300841bede999 (LoongArch: Add
|
|
glibc.cpu.hwcap support.)
|
|
|
|
diff --git a/sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h b/sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h
|
|
index cb640d77b7695b93..a73390b12f67a3fc 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
|