about summary refs log tree commit diff
path: root/sysdeps/s390/wmemcmp-vx.S
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2019-02-06 09:10:31 +0100
committerStefan Liebler <stli@linux.ibm.com>2019-02-06 09:10:31 +0100
commit94eeeec04be8efae1a85d7c224e0026ee18ee6e7 (patch)
tree02f2a36f60bb2d87f9d151b9cadceb62545f8d15 /sysdeps/s390/wmemcmp-vx.S
parentbc79db3fd487daea36e7c130f943cfb9826a41b4 (diff)
downloadglibc-94eeeec04be8efae1a85d7c224e0026ee18ee6e7.tar.gz
glibc-94eeeec04be8efae1a85d7c224e0026ee18ee6e7.tar.xz
glibc-94eeeec04be8efae1a85d7c224e0026ee18ee6e7.zip
S390: Fix introduction of __wmemcmp and weak wmemcmp symbols.
The recent commit 65f7767a914144ae303f7b9ae81865061793dcb9
has introduced __wmemcmp and the weak alias wmemcmp.
This patch also introduces those symbols if glibc is build
with CFLAGS="-march=z13" where the ifunc is omitted.

ChangeLog:

	* sysdeps/s390/wmemcmp-vx.S: Add strong alias to
	__wmemcmp and weak alias to wmemcmp.
Diffstat (limited to 'sysdeps/s390/wmemcmp-vx.S')
-rw-r--r--sysdeps/s390/wmemcmp-vx.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/s390/wmemcmp-vx.S b/sysdeps/s390/wmemcmp-vx.S
index f40603bfb5..1baf9133c3 100644
--- a/sysdeps/s390/wmemcmp-vx.S
+++ b/sysdeps/s390/wmemcmp-vx.S
@@ -149,6 +149,7 @@ ENTRY(WMEMCMP_Z13)
 END(WMEMCMP_Z13)
 
 # if ! HAVE_WMEMCMP_IFUNC
-strong_alias (WMEMCMP_Z13, wmemcmp)
+strong_alias (WMEMCMP_Z13, __wmemcmp)
+weak_alias (__wmemcmp, wmemcmp)
 # endif
 #endif