diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-13 14:51:36 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-13 14:51:36 -0500 |
commit | 16fd2ae37cce401aad580d3d6ffae825827231ae (patch) | |
tree | 79b58b8c5271b0fe85cdaa34e48bc972ea5f23f0 /sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c | |
parent | 9ee2969b057862443b81789b56a61514edf34779 (diff) | |
download | glibc-16fd2ae37cce401aad580d3d6ffae825827231ae.tar glibc-16fd2ae37cce401aad580d3d6ffae825827231ae.tar.gz glibc-16fd2ae37cce401aad580d3d6ffae825827231ae.tar.bz2 glibc-16fd2ae37cce401aad580d3d6ffae825827231ae.zip |
PowerPC: multiarch wcschr for PowerPC64
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c index 1b7479d947..6c46fe20dd 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c +++ b/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c @@ -191,5 +191,16 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array, IFUNC_IMPL_ADD (array, i, strncasecmp_l, 1, __strncasecmp_l_ppc)) + /* Support sysdeps/powerpc/powerpc64/multiarch/wcschr.c. */ + IFUNC_IMPL (i, name, wcschr, + IFUNC_IMPL_ADD (array, i, wcschr, + hwcap & PPC_FEATURE_HAS_VSX, + __wcschr_power7) + IFUNC_IMPL_ADD (array, i, wcschr, + hwcap & PPC_FEATURE_ARCH_2_05, + __wcschr_power6) + IFUNC_IMPL_ADD (array, i, wcschr, 1, + __wcschr_ppc)) + return i; } |