]> sourceware.org Git - glibc.git/commit
S390: Refactor wcsncpy ifunc handling.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:19 +0000 (13:57 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:19 +0000 (13:57 +0100)
commit0966dd86896d7cd6c107c751ba7d3b69542ca11d
tree80402d2a77a37e4e2ec69be0d3f75b3978409dc8
parent0582e4284529b4ea0fcd1a8973ccab7d95ec0e87
S390: Refactor wcsncpy ifunc handling.

The ifunc handling for wcsncpy 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 wcsncpy variants.
* sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
* sysdeps/s390/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
* sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
* sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
* sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wcsncpy.c: Move to ...
* sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
* sysdeps/s390/ifunc-wcsncpy.h: New file.
ChangeLog
sysdeps/s390/Makefile
sysdeps/s390/ifunc-wcsncpy.h [new file with mode: 0644]
sysdeps/s390/multiarch/Makefile
sysdeps/s390/multiarch/ifunc-impl-list.c
sysdeps/s390/wcsncpy-c.c [moved from sysdeps/s390/multiarch/wcsncpy-c.c with 85% similarity]
sysdeps/s390/wcsncpy-vx.S [moved from sysdeps/s390/multiarch/wcsncpy-vx.S with 97% similarity]
sysdeps/s390/wcsncpy.c [moved from sysdeps/s390/multiarch/wcsncpy.c with 70% similarity]
This page took 0.043325 seconds and 5 git commands to generate.