From: Samuel Thibault Date: Fri, 19 May 2023 18:44:01 +0000 (+0200) Subject: hurd 64bit: Re-introduce gai_suspend symbol X-Git-Tag: glibc-2.38~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af84886adb7105d452c0ffec21b5eed1ffa2d65;p=thirdparty%2Fglibc.git hurd 64bit: Re-introduce gai_suspend symbol 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. --- diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c index 977e8d653db..dbd0429f01f 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 */