diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc + symbol as __wcspcy instead of wcscpy. + 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org> * include/stdio.h (__renameat2): New hidden prototype. diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c b/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c index e87984669e..0daf55cf70 100644 --- a/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c @@ -17,20 +17,20 @@ <http://www.gnu.org/licenses/>. */ #if IS_IN (libc) -# define wcscpy __redirect_wcscpy +# define __wcscpy __redirect_wcscpy # include <wchar.h> -# undef wcscpy +# undef __wcscpy # include "init-arch.h" extern __typeof (__redirect_wcscpy) __wcscpy_ppc attribute_hidden; extern __typeof (__redirect_wcscpy) __wcscpy_power6 attribute_hidden; extern __typeof (__redirect_wcscpy) __wcscpy_power7 attribute_hidden; -libc_ifunc_redirected (__redirect_wcscpy, wcscpy, +libc_ifunc_redirected (__redirect_wcscpy, __wcscpy, (hwcap & PPC_FEATURE_HAS_VSX) ? __wcscpy_power7 : (hwcap & PPC_FEATURE_ARCH_2_05) ? __wcscpy_power6 : __wcscpy_ppc); -weak_alias (wcscpy, __wcscpy) +weak_alias (__wcscpy, wcscpy) #endif |