|
|
3b386f |
commit 07f3ecdba69c5190180112c25757040c69041bb9
|
|
|
3b386f |
Author: Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
|
|
|
3b386f |
Date: Thu Sep 17 11:16:36 2020 -0300
|
|
|
3b386f |
|
|
|
3b386f |
powerpc: fix ifunc implementation list for POWER9 strlen and stpcpy
|
|
|
3b386f |
|
|
|
3b386f |
__strlen_power9 and __stpcpy_power9 were added to their ifunc lists
|
|
|
3b386f |
using the wrong function names.
|
|
|
3b386f |
|
|
|
3b386f |
diff --git a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
|
|
|
3b386f |
index daa30d3907395680..e622ab4d47548146 100644
|
|
|
3b386f |
--- a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
|
|
|
3b386f |
+++ b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
|
|
|
3b386f |
@@ -99,7 +99,7 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
|
|
|
3b386f |
/* Support sysdeps/powerpc/powerpc64/multiarch/stpcpy.c. */
|
|
|
3b386f |
IFUNC_IMPL (i, name, stpcpy,
|
|
|
3b386f |
#ifdef __LITTLE_ENDIAN__
|
|
|
3b386f |
- IFUNC_IMPL_ADD (array, i, strncmp, hwcap2 & PPC_FEATURE2_ARCH_3_00,
|
|
|
3b386f |
+ IFUNC_IMPL_ADD (array, i, stpcpy, hwcap2 & PPC_FEATURE2_ARCH_3_00,
|
|
|
3b386f |
__stpcpy_power9)
|
|
|
3b386f |
#endif
|
|
|
3b386f |
IFUNC_IMPL_ADD (array, i, stpcpy, hwcap2 & PPC_FEATURE2_ARCH_2_07,
|
|
|
3b386f |
@@ -112,7 +112,7 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
|
|
|
3b386f |
/* Support sysdeps/powerpc/powerpc64/multiarch/strlen.c. */
|
|
|
3b386f |
IFUNC_IMPL (i, name, strlen,
|
|
|
3b386f |
#ifdef __LITTLE_ENDIAN__
|
|
|
3b386f |
- IFUNC_IMPL_ADD (array, i, strcpy, hwcap2 & PPC_FEATURE2_ARCH_3_00,
|
|
|
3b386f |
+ IFUNC_IMPL_ADD (array, i, strlen, hwcap2 & PPC_FEATURE2_ARCH_3_00,
|
|
|
3b386f |
__strlen_power9)
|
|
|
3b386f |
#endif
|
|
|
3b386f |
IFUNC_IMPL_ADD (array, i, strlen, hwcap2 & PPC_FEATURE2_ARCH_2_07,
|