glibc/sysdeps/s390/multiarch
Stefan Liebler 85286aaf1d S390: Move utf16-utf32-z9.c to multiarch folder and use s390_libc_ifunc_expr macro.
The utf16-utf32-z9.c iconv module is using ifunc and thus the ifunc part should
be in multiarch folder.  Otherwise ifunc is used even if you configure
with --disable-multi-arch.

This patch moves the ifunc resolvers to the new file
sysdeps/s390/multiarch/utf16-utf32-z9.c. The resolvers are now implemented
with s390_libc_ifunc_expr macro instead of using gcc attribute ifunc directly.

The ifunc versions are implemented in sysdeps/s390/utf16-utf32-z9.c.
Each version is only implemented if needed or supported.  Therefore there is
a block at beginning of the file which selects the versions which should be
defined depending on support for multiarch, vector-support and used minimum
architecture level.  This block defines HAVE_[FROM|TO]_[C|VX] to 1 or 0.
The code below is rearranged and surrounded
by #if HAVE_[FROM|TO]_[C|VX] == 1.  There is no functional change.

ChangeLog:

	* sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
	* sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
	folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
	(HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
	FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
	New Define.
2017-04-21 15:30:00 +02:00
..
iconv Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
8bit-generic.c S390: Use new s390_libc_ifunc_expr macro in s390 8bit-generic.c. 2017-04-21 15:30:00 +02:00
gconv_simple.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gen-8bit.sh S390: Optimize 8bit-generic iconv modules. 2016-05-25 17:18:04 +02:00
ifunc-impl-list.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ifunc-resolve.h S390: Use new s390_libc_ifunc_expr macro in s390 8bit-generic.c. 2017-04-21 15:30:00 +02:00
Makefile S390: Optimize builtin iconv-modules. 2016-05-25 17:18:04 +02:00
memccpy-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
memccpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
memccpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
memchr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
memchr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mempcpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
memrchr-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
memrchr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
memrchr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
rawmemchr-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
rawmemchr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
rawmemchr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
stpcpy-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
stpcpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
stpcpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
stpncpy-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
stpncpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
stpncpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcat-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcat-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strchr-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strchr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strchr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strchrnul-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strchrnul-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strchrnul.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcmp-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcspn-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcspn-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strcspn.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strlen-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strlen-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strlen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncat-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncat-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncmp-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncmp-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strncpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strnlen-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strnlen-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strnlen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strpbrk-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strpbrk-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strpbrk.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strrchr-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strrchr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strrchr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strspn-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strspn-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strspn.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utf8-utf16-z9.c S390: Move utf8-utf16-z9.c to multiarch folder and use s390_libc_ifunc_expr macro. 2017-04-21 15:30:00 +02:00
utf16-utf32-z9.c S390: Move utf16-utf32-z9.c to multiarch folder and use s390_libc_ifunc_expr macro. 2017-04-21 15:30:00 +02:00
wcpcpy-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcpcpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcpcpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcpncpy-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcpncpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcpncpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscat-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscat-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcschr-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcschr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcschr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcschrnul-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcschrnul-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcschrnul.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscmp-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscmp-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscpy-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscspn-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscspn-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcscspn.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcslen-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcslen-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcslen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncat-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncat-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncmp-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncmp-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncpy-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncpy-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsncpy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsnlen-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsnlen-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsnlen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcspbrk-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcspbrk-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcspbrk.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsrchr-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsrchr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsrchr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsspn-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsspn-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsspn.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemchr-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemchr-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemchr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemcmp-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemcmp-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemcmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemset-c.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemset-vx.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wmemset.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00