glibc/sysdeps/s390/multiarch
Stefan Liebler 7165583255 S390: Do not call memcpy, memcmp, memset within libc.so via ifunc-plt.
On s390, the memcpy, memcmp, memset functions are IFUNC symbols,
which are created with s390_libc_ifunc-macro.
This macro creates a __GI_ symbol which is set to the
ifunced symbol. Thus calls within libc.so to e.g. memcpy
result in a call to *ABS*+0x954c0@plt stub and afterwards
to the resolved memcpy-ifunc-variant.

This patch sets the __GI_ symbol to the default-ifunc-variant
to avoid the plt call. The __GI_ symbols are now created at the
default variant of ifunced function.

ChangeLog:

	* sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
	Remove __GI_ symbol.
	* sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
	* sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
	* sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
	* sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
	* sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
	* sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2016-05-24 10:39:13 +02:00
..
ifunc-impl-list.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ifunc-resolve.h S390: Do not call memcpy, memcmp, memset within libc.so via ifunc-plt. 2016-05-24 10:39:13 +02:00
Makefile S390: Optimize memrchr. 2015-08-26 10:26:26 +02:00
memccpy-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memccpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memccpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memchr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memchr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memrchr-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memrchr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memrchr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rawmemchr-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rawmemchr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rawmemchr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stpcpy-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stpcpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stpcpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stpncpy-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stpncpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stpncpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcat-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcat-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strchr-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strchr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strchr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strchrnul-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strchrnul-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strchrnul.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcmp-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcmp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcspn-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcspn-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strcspn.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strlen-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strlen-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strlen.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncat-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncat-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncmp-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncmp-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncmp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strncpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strnlen-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strnlen-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strnlen.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strpbrk-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strpbrk-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strpbrk.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strrchr-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strrchr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strrchr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strspn-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strspn-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strspn.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcpcpy-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcpcpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcpcpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcpncpy-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcpncpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcpncpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscat-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscat-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcschr-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcschr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcschr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcschrnul-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcschrnul-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcschrnul.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscmp-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscmp-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscmp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscpy-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscspn-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscspn-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcscspn.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcslen-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcslen-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcslen.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncat-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncat-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncmp-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncmp-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncmp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncpy-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncpy-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsncpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsnlen-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsnlen-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsnlen.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcspbrk-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcspbrk-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcspbrk.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsrchr-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsrchr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsrchr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsspn-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsspn-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wcsspn.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemchr-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemchr-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemchr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemcmp-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemcmp-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemcmp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemset-c.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemset-vx.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wmemset.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00