diff options
author | caiyinyu <caiyinyu@loongson.cn> | 2024-05-11 10:25:54 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2024-05-15 09:08:10 +0800 |
commit | c7c3f5bf80ae86b34501f473f1a9fc545c911b7f (patch) | |
tree | da892650220cf3063a34b2bde376d2ab77b55992 /sysdeps | |
parent | 32969a2b36b8cc74343182b768b3babe6f81c3aa (diff) | |
download | glibc-c7c3f5bf80ae86b34501f473f1a9fc545c911b7f.tar.gz glibc-c7c3f5bf80ae86b34501f473f1a9fc545c911b7f.tar.xz glibc-c7c3f5bf80ae86b34501f473f1a9fc545c911b7f.zip |
LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking.
This patch from 095067efdf68c8061d6f99a21a0300841bede999 (LoongArch: Add glibc.cpu.hwcap support.)
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/loongarch/lp64/multiarch/dl-symbol-redir-ifunc.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |