s390: Fix build for -march=z13

It fixes the build after 7ea510127e and 22999b2f0f.

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

Reviewed-by: Arjun Shankar <arjun@redhat.com>
This commit is contained in:
Adhemerval Zanella 2023-02-20 11:18:08 -03:00
parent 97830304bb
commit 8b014a1b1f
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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