public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/lld] alpha: Provide wait4 for static library [BZ #27150]
@ 2021-01-18 21:39 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-01-18 21:39 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6cc992412cd8c8555ca5d67fa2b994e38ccb6c1f

commit 6cc992412cd8c8555ca5d67fa2b994e38ccb6c1f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jan 5 11:22:25 2021 -0300

    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.

Diff:
---
 sysdeps/unix/sysv/linux/alpha/wait4.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/alpha/wait4.c b/sysdeps/unix/sysv/linux/alpha/wait4.c
index 40df07cc2a..ed425da910 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.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-18 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 21:39 [glibc/maskray/lld] alpha: Provide wait4 for static library [BZ #27150] Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).