mirror of git://sourceware.org/git/glibc.git
powerpc: Fix strnlen/power7 build
This patch fixes the strnlen.S build with --disable-multi-arch option.
This commit is contained in:
parent
357bb400f1
commit
14362ef154
|
@ -1,5 +1,9 @@
|
||||||
2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
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]
|
* sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
|
||||||
(sysdep_routines): Add strstr-ppc64.
|
(sysdep_routines): Add strstr-ppc64.
|
||||||
* sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
|
* sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
|
||||||
|
|
|
@ -173,5 +173,6 @@ L(loop_small):
|
||||||
blr
|
blr
|
||||||
|
|
||||||
END (__strnlen)
|
END (__strnlen)
|
||||||
|
libc_hidden_def (__strnlen)
|
||||||
weak_alias (__strnlen, strnlen)
|
weak_alias (__strnlen, strnlen)
|
||||||
libc_hidden_builtin_def (strnlen)
|
libc_hidden_def (strnlen)
|
||||||
|
|
Loading…
Reference in New Issue