]> git.ipfire.org Git - thirdparty/glibc.git/commit
S390: Refactor strncat ifunc handling.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:12 +0000 (13:57 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:12 +0000 (13:57 +0100)
commitb935335155d65971fe2a54e32c0eb74303d4e4fc
tree6b978d062762d8e48ec07735a6af8057c70aa075
parent8e5a0afbbf0a96fb873e27aa064c9bacc9cfd9c6
S390: Refactor strncat ifunc handling.

The ifunc handling for strncat 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.
Glibc internal calls will then also use the "newer" ifunc variant.

ChangeLog:

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