1libc {
2  GLIBC_2.0 {
3    __dn_comp;
4    __dn_skipname;
5    __h_errno_location;
6    __res_dnok;
7    __res_hnok;
8    __res_mailok;
9    __res_nsend;
10    __res_ownok;
11    __res_randomid;
12    __res_send;
13    _res;
14    dn_expand;
15    h_errlist;
16    h_nerr;
17    herror;
18    hstrerror;
19    res_init;
20    res_mkquery;
21    res_query;
22    res_querydomain;
23    res_search;
24  }
25  GLIBC_2.2 {
26    __dn_expand;
27    __res_init;
28    __res_mkquery;
29    __res_nclose;
30    __res_ninit;
31    __res_nmkquery;
32    __res_nquery;
33    __res_nquerydomain;
34    __res_nsearch;
35    __res_nsend;
36    __res_query;
37    __res_querydomain;
38    __res_search;
39    __res_state;
40    _res_hconf;
41  }
42  GLIBC_2.2.3 {
43%if PTHREAD_IN_LIBC
44    gai_cancel;
45    gai_error;
46    gai_suspend;
47    getaddrinfo_a;
48%endif
49  }
50  GLIBC_2.9 {
51    ns_name_compress;
52    ns_name_ntop;
53    ns_name_pack;
54    ns_name_pton;
55    ns_name_skip;
56    ns_name_uncompress;
57    ns_name_unpack;
58  }
59  GLIBC_2.34 {
60%if PTHREAD_IN_LIBC
61    gai_cancel;
62    gai_error;
63    gai_suspend;
64    getaddrinfo_a;
65%endif
66    dn_comp;
67    dn_expand;
68    dn_skipname;
69    ns_name_compress;
70    ns_name_ntop;
71    ns_name_pack;
72    ns_name_pton;
73    ns_name_skip;
74    ns_name_uncompress;
75    ns_name_unpack;
76    res_dnok;
77    res_hnok;
78    res_mailok;
79    res_mkquery;
80    res_nmkquery;
81    res_nquery;
82    res_nquerydomain;
83    res_nsearch;
84    res_nsend;
85    res_ownok;
86    res_query;
87    res_querydomain;
88    res_search;
89    res_send;
90  }
91  GLIBC_PRIVATE {
92%if !PTHREAD_IN_LIBC
93    __gai_sigqueue;
94%endif
95    __h_errno;
96    __inet_aton_exact;
97    __inet_pton_length;
98    __libc_dn_expand;
99    __libc_dn_skipname;
100    __libc_ns_makecanon;
101    __libc_ns_samename;
102    __libc_res_dnok;
103    __libc_res_hnok;
104    __libc_res_nameinquery;
105    __libc_res_queriesmatch;
106    __ns_name_compress;
107    __ns_name_ntop;
108    __ns_name_pack;
109    __ns_name_pton;
110    __ns_name_skip;
111    __ns_name_uncompress;
112    __ns_name_unpack;
113    __res_context_hostalias;
114    __res_context_mkquery;
115    __res_context_query;
116    __res_context_search;
117    __res_context_send;
118    __res_get_nsaddr;
119    __res_iclose;
120    __res_nopt;
121    __resolv_context_get;
122    __resolv_context_get_override;
123    __resolv_context_get_preinit;
124    __resolv_context_put;
125    __resp;
126    _nss_dns_getcanonname_r;
127    _nss_dns_gethostbyaddr2_r;
128    _nss_dns_gethostbyaddr_r;
129    _nss_dns_gethostbyname2_r;
130    _nss_dns_gethostbyname3_r;
131    _nss_dns_gethostbyname4_r;
132    _nss_dns_gethostbyname_r;
133    _nss_dns_getnetbyaddr_r;
134    _nss_dns_getnetbyname_r;
135  }
136}
137
138libresolv {
139  GLIBC_2.0 {
140    __b64_ntop;
141    __b64_pton;
142    __dn_count_labels;
143    __fp_nquery;
144    __fp_query;
145    __fp_resstat;
146    __hostalias;
147    __loc_aton;
148    __loc_ntoa;
149    __p_cdname;
150    __p_cdnname;
151    __p_class;
152    __p_class_syms;
153    __p_fqname;
154    __p_fqnname;
155    __p_option;
156    __p_query;
157    __p_rr;
158    __p_secstodate;
159    __p_time;
160    __p_type;
161    __p_type_syms;
162    __putlong;
163    __putshort;
164    __res_close;
165    __res_isourserver;
166    __res_nameinquery;
167    __res_queriesmatch;
168    __sym_ntop;
169    __sym_ntos;
170    __sym_ston;
171    _gethtbyaddr;
172    _gethtbyname2;
173    _gethtbyname;
174    _gethtent;
175    _getlong;
176    _getshort;
177    _res_opcodes;
178    _res_resultcodes;
179    _sethtent;
180    inet_net_ntop;
181    inet_net_pton;
182    inet_neta;
183    res_gethostbyaddr;
184    res_gethostbyname2;
185    res_gethostbyname;
186    res_send_setqhook;
187    res_send_setrhook;
188  }
189  GLIBC_2.2 {
190    __res_hostalias;
191  }
192  GLIBC_2.3.2 {
193    __p_rcode;
194  }
195  GLIBC_2.9 {
196    ns_datetosecs;
197    ns_format_ttl;
198    ns_get16;
199    ns_get32;
200    ns_initparse;
201    ns_makecanon;
202    ns_msg_getflag;
203    ns_name_ntol;
204    ns_name_pton;
205    ns_name_rollback;
206    ns_name_skip;
207    ns_parse_ttl;
208    ns_parserr;
209    ns_put16;
210    ns_put32;
211    ns_samedomain;
212    ns_samename;
213    ns_skiprr;
214    ns_sprintrr;
215    ns_sprintrrf;
216    ns_subdomain;
217  }
218  GLIBC_PRIVATE {
219    __ns_get16;
220    __ns_get32;
221  }
222}
223
224libnss_dns {
225  GLIBC_PRIVATE {
226    # Keep a version node (with a synthesized local: * directive) so that
227    # __bss_* symbols are hidden on targets that need it.
228    __libnss_dns_version_placeholder;
229  }
230}
231
232libanl {
233  GLIBC_2.2.3 {
234%if PTHREAD_IN_LIBC
235    __libanl_version_placeholder;
236%else
237    gai_cancel;
238    gai_error;
239    gai_suspend;
240    getaddrinfo_a;
241%endif
242  }
243}
244