about summary refs log tree commit diff
path: root/sysdeps/s390/Makefile
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2018-12-18 13:57:14 +0100
committerStefan Liebler <stli@linux.ibm.com>2018-12-18 13:57:14 +0100
commita1361e65617c660a3ba7d561e081dcd18762a688 (patch)
treeef08422408294839c89776412e25886e417a9734 /sysdeps/s390/Makefile
parent32f12653d4ea2fbff409351bf8067f9a0b4a3963 (diff)
downloadglibc-a1361e65617c660a3ba7d561e081dcd18762a688.tar.gz
glibc-a1361e65617c660a3ba7d561e081dcd18762a688.tar.xz
glibc-a1361e65617c660a3ba7d561e081dcd18762a688.zip
S390: Refactor strchrnul ifunc handling.
The ifunc handling for strchrnul 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 strchrnul variants.
	* sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
	* sysdeps/s390/multiarch/ifunc-impl-list.c
	(__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
	* sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
	* sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
	* sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
	* sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
	* sysdeps/s390/multiarch/strchrnul.c: Move to ...
	* sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
	* sysdeps/s390/ifunc-strchrnul.h: New file.
Diffstat (limited to 'sysdeps/s390/Makefile')
-rw-r--r--sysdeps/s390/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/s390/Makefile b/sysdeps/s390/Makefile
index 59d6e845db..07ec5e969f 100644
--- a/sysdeps/s390/Makefile
+++ b/sysdeps/s390/Makefile
@@ -70,5 +70,6 @@ sysdep_routines += bzero memset memset-z900 \
 		   strncat strncat-vx strncat-c \
 		   strcmp strcmp-vx strcmp-z900 \
 		   strncmp strncmp-vx strncmp-c \
-		   strchr strchr-vx strchr-c
+		   strchr strchr-vx strchr-c \
+		   strchrnul strchrnul-vx strchrnul-c
 endif