about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-20 11:18:08 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-20 17:16:29 -0300
commit8b014a1b1f7aee1e3348db108aeea396359d481e (patch)
tree22e65645037c5ef560761062f08b0a3b75494dc5
parent97830304bb477f18b67b7bc11989fb3357da443e (diff)
downloadglibc-8b014a1b1f7aee1e3348db108aeea396359d481e.tar.gz
glibc-8b014a1b1f7aee1e3348db108aeea396359d481e.tar.xz
glibc-8b014a1b1f7aee1e3348db108aeea396359d481e.zip
s390: Fix build for -march=z13
It fixes the build after 7ea510127e2067e and 22999b2f0fb62.

Checked with build for s390x-linux-gnu with -march=z13.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
-rw-r--r--sysdeps/s390/memrchr-vx.S1
-rw-r--r--sysdeps/s390/strchrnul-vx.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/s390/memrchr-vx.S b/sysdeps/s390/memrchr-vx.S
index c6c3168668..4080dccfbc 100644
--- a/sysdeps/s390/memrchr-vx.S
+++ b/sysdeps/s390/memrchr-vx.S
@@ -161,6 +161,7 @@ ENTRY(MEMRCHR_Z13)
 END(MEMRCHR_Z13)
 
 # if ! HAVE_MEMRCHR_IFUNC
+libc_hidden_def (__memrchr)
 strong_alias (MEMRCHR_Z13, __memrchr)
 weak_alias (__memrchr, memrchr)
 # endif
diff --git a/sysdeps/s390/strchrnul-vx.S b/sysdeps/s390/strchrnul-vx.S
index 07f39426b7..b705979481 100644
--- a/sysdeps/s390/strchrnul-vx.S
+++ b/sysdeps/s390/strchrnul-vx.S
@@ -94,6 +94,7 @@ ENTRY(STRCHRNUL_Z13)
 END(STRCHRNUL_Z13)
 
 # if ! HAVE_STRCHRNUL_IFUNC
+libc_hidden_def (__strchrnul)
 strong_alias (STRCHRNUL_Z13, __strchrnul)
 weak_alias (__strchrnul, strchrnul)
 # endif