diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2019-02-06 09:10:31 +0100 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2019-02-06 09:10:31 +0100 |
commit | 94eeeec04be8efae1a85d7c224e0026ee18ee6e7 (patch) | |
tree | 02f2a36f60bb2d87f9d151b9cadceb62545f8d15 /sysdeps | |
parent | bc79db3fd487daea36e7c130f943cfb9826a41b4 (diff) | |
download | glibc-94eeeec04be8efae1a85d7c224e0026ee18ee6e7.tar.gz |
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')
-rw-r--r-- | sysdeps/s390/wmemcmp-vx.S | 3 |
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 |