]> sourceware.org Git - glibc.git/commit
S390: Refactor wcsncat ifunc handling.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:20 +0000 (13:57 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:20 +0000 (13:57 +0100)
commit814a76e1bcc59e6c4899279ede887bf9fecf5a40
tree8dd3160e2dcdbd4cbce3d044dcf7c52be0131ca0
parent3389cae427b4032c3a991cb32b5178a85a652d84
S390: Refactor wcsncat ifunc handling.

The ifunc handling for wcsncat is adjusted in order to omit ifunc
if the minimum architecture level already supports newer CPUs by default.
Unfortunately the c ifunc variant can't be omitted at all as it is used
by the z13 ifunc variant as fallback if the pointers are not 4-byte aligned.

ChangeLog:

* sysdeps/s390/multiarch/Makefile
(sysdep_routines): Remove wcsncat variants.
* sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
* sysdeps/s390/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
* sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
* sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
* sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wcsncat.c: Move to ...
* sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
* sysdeps/s390/ifunc-wcsncat.h: New file.
ChangeLog
sysdeps/s390/Makefile
sysdeps/s390/ifunc-wcsncat.h [new file with mode: 0644]
sysdeps/s390/multiarch/Makefile
sysdeps/s390/multiarch/ifunc-impl-list.c
sysdeps/s390/wcsncat-c.c [moved from sysdeps/s390/multiarch/wcsncat-c.c with 85% similarity]
sysdeps/s390/wcsncat-vx.S [moved from sysdeps/s390/multiarch/wcsncat-vx.S with 97% similarity]
sysdeps/s390/wcsncat.c [moved from sysdeps/s390/multiarch/wcsncat.c with 69% similarity]
This page took 0.041468 seconds and 5 git commands to generate.