]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
S390: Fix introduction of __wmemcmp and weak wmemcmp symbols.
authorStefan Liebler <stli@linux.ibm.com>
Wed, 6 Feb 2019 08:10:31 +0000 (09:10 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Wed, 6 Feb 2019 08:10:31 +0000 (09:10 +0100)
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.

ChangeLog
sysdeps/s390/wmemcmp-vx.S

index 4988b0c63204c53c6d2f4e5be04b2472d69a90f1..3de4ca1f10318ca23b2e531e380373e18cd78b42 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-02-06  Stefan Liebler  <stli@linux.ibm.com>
+
+       * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
+       __wmemcmp and weak alias to wmemcmp.
+
 2019-02-06  Stefan Liebler  <stli@linux.ibm.com>
 
        [BZ #23403]
index f40603bfb5496d01ce40b17b3527e9bec42ad2b2..1baf9133c35e3ff38e2a71d96e2f62636aed3a23 100644 (file)
@@ -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