From 2fbe5860d33ca2318b35ea6d31beefa381b4ac8a Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 19 Jul 2021 07:55:27 +0200 Subject: resolv: Rename res_comp.c to res-name-checking.c and move into libc This reflects what the remaining functions in the file do. The __res_dnok, __res_hnok, __res_mailok, __res_ownok were moved with the script, using --no-new-version, and turned into compat symbols. __libc_res_dnok@@GLIBC_PRIVATE and __libc_res_hnok@@GLIBC_PRIVATE are added for internal use, to avoid accidentally binding to compatibility symbols. The new public symbols res_dnok, res_hnok, res_mailok, res_ownok were added using make update-all-abi. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist | 8 ++++++++ sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist | 4 ---- sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist | 8 ++++++++ sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist | 8 ++++++++ sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist | 4 ---- sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist | 8 ++++++++ sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist | 4 ---- 7 files changed, 32 insertions(+), 12 deletions(-) (limited to 'sysdeps/unix/sysv/linux/mips') diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist index e25688089c..014913aca8 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist @@ -204,6 +204,10 @@ GLIBC_2.0 __register_frame F GLIBC_2.0 __register_frame_info F GLIBC_2.0 __register_frame_info_table F GLIBC_2.0 __register_frame_table F +GLIBC_2.0 __res_dnok F +GLIBC_2.0 __res_hnok F +GLIBC_2.0 __res_mailok F +GLIBC_2.0 __res_ownok F GLIBC_2.0 __res_randomid F GLIBC_2.0 __sbrk F GLIBC_2.0 __sched_get_priority_max F @@ -2623,6 +2627,10 @@ GLIBC_2.34 pthread_spin_unlock F GLIBC_2.34 pthread_testcancel F GLIBC_2.34 pthread_timedjoin_np F GLIBC_2.34 pthread_tryjoin_np F +GLIBC_2.34 res_dnok F +GLIBC_2.34 res_hnok F +GLIBC_2.34 res_mailok F +GLIBC_2.34 res_ownok F GLIBC_2.34 sem_clockwait F GLIBC_2.34 sem_close F GLIBC_2.34 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist index 48ff3bffa1..b6244e71e7 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist @@ -22,12 +22,8 @@ GLIBC_2.0 __p_type_syms D 0x228 GLIBC_2.0 __putlong F GLIBC_2.0 __putshort F GLIBC_2.0 __res_close F -GLIBC_2.0 __res_dnok F -GLIBC_2.0 __res_hnok F GLIBC_2.0 __res_isourserver F -GLIBC_2.0 __res_mailok F GLIBC_2.0 __res_nameinquery F -GLIBC_2.0 __res_ownok F GLIBC_2.0 __res_queriesmatch F GLIBC_2.0 __res_send F GLIBC_2.0 __sym_ntop F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist index d3c02c5e09..bc70779dd2 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist @@ -204,6 +204,10 @@ GLIBC_2.0 __register_frame F GLIBC_2.0 __register_frame_info F GLIBC_2.0 __register_frame_info_table F GLIBC_2.0 __register_frame_table F +GLIBC_2.0 __res_dnok F +GLIBC_2.0 __res_hnok F +GLIBC_2.0 __res_mailok F +GLIBC_2.0 __res_ownok F GLIBC_2.0 __res_randomid F GLIBC_2.0 __sbrk F GLIBC_2.0 __sched_get_priority_max F @@ -2621,6 +2625,10 @@ GLIBC_2.34 pthread_spin_unlock F GLIBC_2.34 pthread_testcancel F GLIBC_2.34 pthread_timedjoin_np F GLIBC_2.34 pthread_tryjoin_np F +GLIBC_2.34 res_dnok F +GLIBC_2.34 res_hnok F +GLIBC_2.34 res_mailok F +GLIBC_2.34 res_ownok F GLIBC_2.34 sem_clockwait F GLIBC_2.34 sem_close F GLIBC_2.34 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist index 568b293968..e71fd1249b 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist @@ -204,6 +204,10 @@ GLIBC_2.0 __register_frame F GLIBC_2.0 __register_frame_info F GLIBC_2.0 __register_frame_info_table F GLIBC_2.0 __register_frame_table F +GLIBC_2.0 __res_dnok F +GLIBC_2.0 __res_hnok F +GLIBC_2.0 __res_mailok F +GLIBC_2.0 __res_ownok F GLIBC_2.0 __res_randomid F GLIBC_2.0 __sbrk F GLIBC_2.0 __sched_get_priority_max F @@ -2629,6 +2633,10 @@ GLIBC_2.34 pthread_spin_unlock F GLIBC_2.34 pthread_testcancel F GLIBC_2.34 pthread_timedjoin_np F GLIBC_2.34 pthread_tryjoin_np F +GLIBC_2.34 res_dnok F +GLIBC_2.34 res_hnok F +GLIBC_2.34 res_mailok F +GLIBC_2.34 res_ownok F GLIBC_2.34 sem_clockwait F GLIBC_2.34 sem_close F GLIBC_2.34 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist index 48ff3bffa1..b6244e71e7 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist @@ -22,12 +22,8 @@ GLIBC_2.0 __p_type_syms D 0x228 GLIBC_2.0 __putlong F GLIBC_2.0 __putshort F GLIBC_2.0 __res_close F -GLIBC_2.0 __res_dnok F -GLIBC_2.0 __res_hnok F GLIBC_2.0 __res_isourserver F -GLIBC_2.0 __res_mailok F GLIBC_2.0 __res_nameinquery F -GLIBC_2.0 __res_ownok F GLIBC_2.0 __res_queriesmatch F GLIBC_2.0 __res_send F GLIBC_2.0 __sym_ntop F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist index 3337791b3f..b2760740e1 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist @@ -204,6 +204,10 @@ GLIBC_2.0 __register_frame F GLIBC_2.0 __register_frame_info F GLIBC_2.0 __register_frame_info_table F GLIBC_2.0 __register_frame_table F +GLIBC_2.0 __res_dnok F +GLIBC_2.0 __res_hnok F +GLIBC_2.0 __res_mailok F +GLIBC_2.0 __res_ownok F GLIBC_2.0 __res_randomid F GLIBC_2.0 __sbrk F GLIBC_2.0 __sched_get_priority_max F @@ -2541,6 +2545,10 @@ GLIBC_2.34 pthread_spin_unlock F GLIBC_2.34 pthread_testcancel F GLIBC_2.34 pthread_timedjoin_np F GLIBC_2.34 pthread_tryjoin_np F +GLIBC_2.34 res_dnok F +GLIBC_2.34 res_hnok F +GLIBC_2.34 res_mailok F +GLIBC_2.34 res_ownok F GLIBC_2.34 sem_clockwait F GLIBC_2.34 sem_close F GLIBC_2.34 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist index 7c80f1818a..abfaf8840f 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist @@ -22,12 +22,8 @@ GLIBC_2.0 __p_type_syms D 0x450 GLIBC_2.0 __putlong F GLIBC_2.0 __putshort F GLIBC_2.0 __res_close F -GLIBC_2.0 __res_dnok F -GLIBC_2.0 __res_hnok F GLIBC_2.0 __res_isourserver F -GLIBC_2.0 __res_mailok F GLIBC_2.0 __res_nameinquery F -GLIBC_2.0 __res_ownok F GLIBC_2.0 __res_queriesmatch F GLIBC_2.0 __res_send F GLIBC_2.0 __sym_ntop F -- cgit 1.4.1