public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] hurd 64bit: Re-introduce gai_suspend symbol
@ 2023-05-19 18:45 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2023-05-19 18:45 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault, commit-hurd

4d3f846b88d3 ("hurd: Fix __TIMESIZE on x86_64") incidentaly dropped it
because it fixed hurd 64bit into setting __TIMESIZE to 64, and that case
was not having gai_suspend defined yet.
---
 resolv/gai_suspend.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index 977e8d653d..dbd0429f01 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -155,6 +155,8 @@ versioned_symbol (libc, ___gai_suspend_time64, gai_suspend, GLIBC_2_34);
 #  if OTHER_SHLIB_COMPAT (libanl, GLIBC_2_2_3, GLIBC_2_34)
 compat_symbol (libanl, ___gai_suspend_time64, gai_suspend, GLIBC_2_2_3);
 #  endif
+# else
+weak_alias (___gai_suspend_time64, gai_suspend)
 # endif /* PTHREAD_IN_LIBC */
 
 #else /* __TIMESIZE != 64 */
-- 
2.39.2


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

only message in thread, other threads:[~2023-05-19 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 18:45 [hurd,commited] hurd 64bit: Re-introduce gai_suspend symbol Samuel Thibault

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).