powerpc: Fix strnlen/power7 build

This patch fixes the strnlen.S build with --disable-multi-arch option.
This commit is contained in:
Adhemerval Zanella 2015-07-28 15:39:13 -03:00 committed by Adhemerval Zanella
parent 357bb400f1
commit 14362ef154
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
libc_hidden_def.
(strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
* sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
(sysdep_routines): Add strstr-ppc64.
* sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.

View File

@ -173,5 +173,6 @@ L(loop_small):
blr
END (__strnlen)
libc_hidden_def (__strnlen)
weak_alias (__strnlen, strnlen)
libc_hidden_builtin_def (strnlen)
libc_hidden_def (strnlen)