s390: Fix build for -march=z13
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
It fixes the build after 7ea510127e2067e and 22999b2f0fb62.
Checked with build for s390x-linux-gnu with -march=z13.
---
sysdeps/s390/memrchr-vx.S | 1 +
sysdeps/s390/strchrnul-vx.S | 1 +
2 files changed, 2 insertions(+)
Comments
Hi Adhemerval,
> It fixes the build after 7ea510127e2067e and 22999b2f0fb62.
>
> Checked with build for s390x-linux-gnu with -march=z13.
Thanks! This LGTM, and fixes a build failure on master with Fedora
Rawhide on s390x (which uses -march=z13).
Reviewed-by: Arjun Shankar <arjun@redhat.com>
> ---
> sysdeps/s390/memrchr-vx.S | 1 +
> sysdeps/s390/strchrnul-vx.S | 1 +
> 2 files changed, 2 insertions(+)
>
> 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
> --
> 2.34.1
>
@@ -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
@@ -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