S390: Refactor memccpy ifunc handling.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:16 +0000 (13:57 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:16 +0000 (13:57 +0100)
commit196655ba54ebdcdcc0468bcb6e136757b013d350
tree5844cf18c5f03f381ea72aa36b42715614a861cd
parent4c7b3cec113d9bb7dfc004e22c7a98e310ab9bcc
S390: Refactor memccpy ifunc handling.

The ifunc handling for memccpy is adjusted in order to omit ifunc
variants if those will never be used as the minimum architecture level
already supports newer CPUs by default.

ChangeLog:

* sysdeps/s390/multiarch/Makefile
(sysdep_routines): Remove memccpy variants.
* sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
* sysdeps/s390/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
* sysdeps/s390/multiarch/memccpy-c.c: Move to ...
* sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
* sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/memccpy.c: Move to ...
* sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
* sysdeps/s390/ifunc-memccpy.h: New file.
ChangeLog
sysdeps/s390/Makefile
sysdeps/s390/ifunc-memccpy.h [new file with mode: 0644]
sysdeps/s390/memccpy-c.c [moved from sysdeps/s390/multiarch/memccpy-c.c with 85% similarity]
sysdeps/s390/memccpy-vx.S [moved from sysdeps/s390/multiarch/memccpy-vx.S with 95% similarity]
sysdeps/s390/memccpy.c [moved from sysdeps/s390/multiarch/memccpy.c with 68% similarity]
sysdeps/s390/multiarch/Makefile
sysdeps/s390/multiarch/ifunc-impl-list.c