From ae9cf7a2e89aa4b4646b66dd32739409a46c857c Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 14 Oct 2013 08:17:44 -0500 Subject: PowerPC: multiarch strnlen for PowerPC32 --- sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c') diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c b/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c index 63dadade74..b2c6691c96 100644 --- a/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c @@ -81,6 +81,13 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array, __strlen_power7) IFUNC_IMPL_ADD (array, i, strlen, 1, __strlen_ppc)) + + /* Support sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c. */ + IFUNC_IMPL (i, name, strnlen, + IFUNC_IMPL_ADD (array, i, strnlen, hwcap & PPC_FEATURE_HAS_VSX, + __strnlen_power7) + IFUNC_IMPL_ADD (array, i, strnlen, 1, + __strnlen_ppc)) #endif /* Support sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c. */ -- cgit 1.4.1