diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-10-14 09:14:06 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-06 05:47:01 -0600 |
commit | 31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5 (patch) | |
tree | ab0437e0a5e0f8b0704b3226cc9c54128d171abf /sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c | |
parent | 0d0607d9ab7390a66e514a1d1cfb01f889e00d47 (diff) | |
download | glibc-31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5.tar.gz glibc-31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5.tar.xz glibc-31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5.zip |
PowerPC: multiarch strchrnul for PowerPC32
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c b/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c index ab17a95dcc..018c948ec6 100644 --- a/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c @@ -165,5 +165,13 @@ __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/powerpc32/power4/multiarch/strchrnul.c. */ + IFUNC_IMPL (i, name, strchrnul, + IFUNC_IMPL_ADD (array, i, strchrnul, + hwcap & PPC_FEATURE_HAS_VSX, + __strchrnul_power7) + IFUNC_IMPL_ADD (array, i, strchrnul, 1, + __strchrnul_ppc)) + return i; } |