1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

resolv: Move dn_comp to its own file and into libc

And reformat it to GNU style.

dn_comp is used in various programs, so keep it as a non-deprecated
symbol.  Switch to dn_comp (not __dn_comp) for the ABI name.  There
are no internal users, so interposition is not a problem.

The __dn_comp symbol was moved with scripts/move-symbol-to-libc.py
--no-new-version.  dn_comp@@GLIBC_2.34 was added with
make update-all-abi.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Florian Weimer
2021-07-19 07:55:27 +02:00
parent 7ec366a08a
commit fd8a87c0c1
70 changed files with 172 additions and 49 deletions

View File

@ -1,5 +1,6 @@
libc {
GLIBC_2.0 {
__dn_comp;
__h_errno_location;
__res_randomid;
_res;
@ -42,6 +43,7 @@ libc {
gai_suspend;
getaddrinfo_a;
%endif
dn_comp;
dn_expand;
ns_name_compress;
ns_name_ntop;
@ -79,7 +81,6 @@ libresolv {
GLIBC_2.0 {
__b64_ntop;
__b64_pton;
__dn_comp;
__dn_count_labels;
__dn_skipname;
__fp_nquery;