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