diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-01-05 11:22:25 -0300 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-01-05 19:16:25 +0000 |
commit | a80ad4ee7ee230f307e696c1be8fb59ef6d581c0 (patch) | |
tree | 8f83e4d2e41184d2e942d20a5d34a3306ecb7ff6 | |
parent | tests-mcheck: New variable to run tests with MALLOC_CHECK_=3 (diff) | |
download | glibc-a80ad4ee7ee230f307e696c1be8fb59ef6d581c0.tar.gz glibc-a80ad4ee7ee230f307e696c1be8fb59ef6d581c0.tar.bz2 glibc-a80ad4ee7ee230f307e696c1be8fb59ef6d581c0.zip |
alpha: Provide wait4 for static library [BZ #27150]
This ia regression from 09153638cfef91, versioned_symbol acts as
weak_alias for !SHARED but it is undefined to avoid non versioned
alias from the generic implementation.
Checked with a build for alpha-linux-gnu.
(cherry picked from commit 6cc992412cd8c8555ca5d67fa2b994e38ccb6c1f)
Reported-by: Yoshihiko Iwama
Bug: https://sourceware.org/PR27150
Bug: https://bugs.gentoo.org/763618
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/wait4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/wait4.c b/sysdeps/unix/sysv/linux/alpha/wait4.c index 864435f859..002f0d01eb 100644 --- a/sysdeps/unix/sysv/linux/alpha/wait4.c +++ b/sysdeps/unix/sysv/linux/alpha/wait4.c @@ -21,6 +21,8 @@ #undef weak_alias #define weak_alias(a, b) #include <sysdeps/unix/sysv/linux/wait4.c> +#undef weak_alias +#define weak_alias(name, aliasname) _weak_alias (name, aliasname) versioned_symbol (libc, __wait4, wait4, GLIBC_2_1); /* GLIBC_2_0 version is implemented at osf_wait4.c. */ |