diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-13 14:54:41 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-13 14:54:41 -0500 |
commit | 7f5ec11336e46d0449a6b5a8e5a0604c3c78ecbf (patch) | |
tree | 52129fc09694e3a9983022545af3b31240376f33 /sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c | |
parent | e28bcd427b21b6c74021ca65736dd66474b09013 (diff) | |
download | glibc-7f5ec11336e46d0449a6b5a8e5a0604c3c78ecbf.tar.gz |
PowerPC: multiarch strcpy for PowerPC64
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c index ae02476518..3afbd7147b 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c +++ b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c @@ -71,6 +71,13 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array, __memset_power4) IFUNC_IMPL_ADD (array, i, memset, 1, __memset_ppc)) + /* Support sysdeps/powerpc/powerpc64/multiarch/strcpy.c. */ + IFUNC_IMPL (i, name, strcpy, + IFUNC_IMPL_ADD (array, i, strcpy, hwcap & PPC_FEATURE_HAS_VSX, + __strcpy_power7) + IFUNC_IMPL_ADD (array, i, strcpy, 1, + __strcpy_ppc)) + /* Support sysdeps/powerpc/powerpc64/multiarch/strlen.c. */ IFUNC_IMPL (i, name, strlen, IFUNC_IMPL_ADD (array, i, strlen, hwcap & PPC_FEATURE_HAS_VSX, |