glibc/string
Joseph Myers c1b0aadcdf Fix build of C mempcpy and stpcpy.
This patch fixes the build of C mempcpy and stpcpy by disabling the
redirection to __mempcpy and __stpcpy asm names if
NO_MEMPCPY_STPCPY_REDIRECT is defined, and defining that macro in the
relevant source files.

Tested for powerpc32 that the build is fixed.

	* include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
	redeclare with asm name.
	[NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
	* string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
	including <string.h>.
	* string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
	[!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
	[!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
	[SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2014-11-14 13:48:39 +00:00
..
bits Update feature guard for strdup/strndup in <bits/string2.h> 2014-06-16 10:21:31 +02:00
_strerror.c
argz-addsep.c
argz-append.c
argz-count.c
argz-create.c
argz-ctsep.c
argz-delete.c
argz-extract.c
argz-insert.c
argz-next.c
argz-replace.c
argz-stringify.c
argz.h
basename.c
bcopy.c PowerPC: optimized memmove for POWER7/PPC64 2014-07-07 15:41:21 -05:00
bug-envz1.c
bug-strcoll1.c
bug-strncat1.c
bug-strpbrk1.c
bug-strspn1.c
bug-strtok1.c
byteswap.h
bzero.c
Depend
endian.h
envz.c
envz.h
ffs.c
ffsll.c
inl-tester.c
Makefile Remove redundant C locale settings. 2014-06-07 19:58:36 +00:00
memccpy.c
memchr.c string/memchr.c: Merge from gnulib 2014-07-04 09:23:21 +01:00
memcmp.c
memcpy.c Fix -Wundef warning on PAGE_COPY_THRESHOLD 2014-07-03 01:49:43 +05:30
memfrob.c
memmem.c Fix locale memmem namespace (bug 17585). 2014-11-12 22:41:03 +00:00
memmove.c Fix -Wundef warning on PAGE_COPY_THRESHOLD 2014-07-03 01:49:43 +05:30
memory.h
mempcpy.c Fix build of C mempcpy and stpcpy. 2014-11-14 13:48:39 +00:00
memrchr.c
memset.c
noinl-tester.c
rawmemchr.c
stpcpy.c Fix build of C mempcpy and stpcpy. 2014-11-14 13:48:39 +00:00
stpncpy.c
str-two-way.h
stratcliff.c
strcasecmp_l.c
strcasecmp.c
strcasestr.c
strcat.c This patch improves strcat performance by using strlen and strcpy. Strlen has a fast C 2014-10-24 16:08:42 +00:00
strchr.c
strchrnul.c
strcmp.c
strcoll_l.c Fix up incorrect formatting in last commit 2014-10-17 15:52:46 +05:30
strcoll.c
strcpy.c
strcspn.c
strdup.c
strerror_l.c
strerror.c
strfry.c
string-inlines.c
string.h
strings.h
strlen.c
strncase_l.c
strncase.c
strncat.c This patch improves strncat performance by using strlen. Strlen has a fast C implementation, so 2014-10-24 16:12:12 +00:00
strncmp.c
strncpy.c
strndup.c
strnlen.c
strpbrk.c
strrchr.c
strsep.c
strsignal.c
strspn.c
strstr.c
strtok_r.c
strtok.c
strverscmp.c
strxfrm_l.c Move findidx nested functions to top-level. 2014-09-11 16:02:17 -07:00
strxfrm.c
swab.c
test-bcopy.c
test-bzero.c
test-ffs.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
test-memccpy.c
test-memchr.c
test-memcmp.c
test-memcpy.c
test-memmem.c
test-memmove.c
test-mempcpy.c
test-memrchr.c
test-memset.c
test-rawmemchr.c
test-stpcpy.c
test-stpncpy.c
test-strcasecmp.c
test-strcasestr.c
test-strcat.c
test-strchr.c
test-strchrnul.c
test-strcmp.c
test-strcpy.c
test-strcspn.c
test-string.h
test-strlen.c
test-strncasecmp.c
test-strncat.c
test-strncmp.c
test-strncpy.c
test-strnlen.c
test-strpbrk.c
test-strrchr.c
test-strspn.c
test-strstr.c
testcopy.c
tester.c
tst-bswap.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-endian.c
tst-inlcall.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-strcoll-overflow.c Fix tst-strcoll-overflow returning before timeout (BZ #17506) 2014-11-12 17:10:21 +05:30
tst-strfry.c
tst-strlen.c
tst-strtok_r.c
tst-strtok.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-strxfrm2.c
tst-strxfrm.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-svc2.c
tst-svc.c
tst-svc.expect
tst-svc.input
Versions
wordcopy.c
xpg-strerror.c