]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/s390/wcscmp-c.c
S390: Refactor wcscmp ifunc handling.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:21 +0000 (13:57 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:21 +0000 (13:57 +0100)
commit3459e23dd4ae4aa8999df7111d833a0bb9add7cd
tree5ed6f9c8e6531541e730f7d380c912a21e3d76b0
parent814a76e1bcc59e6c4899279ede887bf9fecf5a40
S390: Refactor wcscmp ifunc handling.

The ifunc handling for wcscmp 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 wcscmp variants.
* sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
* sysdeps/s390/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
* sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
* sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
* sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wcscmp.c: Move to ...
* sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
* sysdeps/s390/ifunc-wcscmp.h: New file.
ChangeLog
sysdeps/s390/Makefile
sysdeps/s390/ifunc-wcscmp.h [new file with mode: 0644]
sysdeps/s390/multiarch/Makefile
sysdeps/s390/multiarch/ifunc-impl-list.c
sysdeps/s390/wcscmp-c.c [moved from sysdeps/s390/multiarch/wcscmp-c.c with 72% similarity]
sysdeps/s390/wcscmp-vx.S [moved from sysdeps/s390/multiarch/wcscmp-vx.S with 92% similarity]
sysdeps/s390/wcscmp.c [moved from sysdeps/s390/multiarch/wcscmp.c with 70% similarity]