This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH COMMITTED] S390: Fix introduction of __wmemcmp and weak wmemcmp symbols.
- From: Stefan Liebler <stli at linux dot ibm dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 6 Feb 2019 09:26:41 +0100
- Subject: [PATCH COMMITTED] S390: Fix introduction of __wmemcmp and weak wmemcmp symbols.
Hi,
the recent commit 65f7767a914144ae303f7b9ae81865061793dcb9
has introduced __wmemcmp and the weak alias wmemcmp.
This commit also introduces those symbols if glibc is build
with CFLAGS="-march=z13" where the ifunc is omitted.
Bye,
Stefan
ChangeLog:
* sysdeps/s390/wmemcmp-vx.S: Add strong alias to
__wmemcmp and weak alias to wmemcmp.
commit 442b02c34265f4ac7b94b1558ada9f687a3eae75
Author: Stefan Liebler <stli@linux.ibm.com>
Date: Tue Feb 5 13:47:31 2019 +0100
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.
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