aboutsummaryrefslogtreecommitdiff
path: root/resolv/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-02 11:45:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-02 11:45:00 +0200
commitdbb949f53d4801b91885b2dfac9875b83a8710bf (patch)
tree9fdfcaeda7ba0f7f2895f45e233757cdfdb1eef3 /resolv/Versions
parent813c6ec808556553be9d39e900a3fc97ceb32330 (diff)
downloadglibc-dbb949f53d4801b91885b2dfac9875b83a8710bf.tar
glibc-dbb949f53d4801b91885b2dfac9875b83a8710bf.tar.gz
glibc-dbb949f53d4801b91885b2dfac9875b83a8710bf.tar.bz2
glibc-dbb949f53d4801b91885b2dfac9875b83a8710bf.zip
resolv: Move libanl into libc (if libpthread is in libc)
The symbols gai_cancel, gai_error, gai_suspend, getaddrinfo_a, __gai_suspend_time64 were moved using scripts/move-symbol-to-libc.py. For Hurd (which remains !PTHREAD_IN_LIBC), a few #define redirects had to be added because several pthread functions are not available under __. (Linux uses __ prefixes for most hidden aliases, and has to in some cases to avoid linknamespace issues.)
Diffstat (limited to 'resolv/Versions')
-rw-r--r--resolv/Versions16
1 files changed, 16 insertions, 0 deletions
diff --git a/resolv/Versions b/resolv/Versions
index 9a82704af7..d4f6b4b819 100644
--- a/resolv/Versions
+++ b/resolv/Versions
@@ -21,8 +21,20 @@ libc {
# r*
__res_state; __res_init; __res_nclose; __res_ninit; _res_hconf;
}
+ GLIBC_2.2.3 {
+%if PTHREAD_IN_LIBC
+ gai_cancel; gai_error; gai_suspend; getaddrinfo_a;
+%endif
+ }
+ GLIBC_2.34 {
+%if PTHREAD_IN_LIBC
+ gai_cancel; gai_error; gai_suspend; getaddrinfo_a;
+%endif
+ }
GLIBC_PRIVATE {
+%if !PTHREAD_IN_LIBC
__gai_sigqueue;
+%endif
__h_errno; __resp;
@@ -103,6 +115,10 @@ libnss_dns {
libanl {
GLIBC_2.2.3 {
+%if PTHREAD_IN_LIBC
+ __libanl_version_placeholder;
+%else
gai_cancel; gai_error; gai_suspend; getaddrinfo_a;
+%endif
}
}