mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 19:53:32 +08:00
nptl: Remove __res_state from libpthread
The existing definition in libc will be used instead. The symbol was moved (that is, removed) using scripts/move-symbol-to-libc.py.
This commit is contained in:
parent
4baf02b332
commit
2b6a4307e9
@ -203,7 +203,6 @@ libpthread-routines = \
|
||||
pthread_timedjoin \
|
||||
pthread_tryjoin \
|
||||
pthread_yield \
|
||||
res \
|
||||
sem_clockwait \
|
||||
sem_close \
|
||||
sem_destroy \
|
||||
|
@ -308,7 +308,6 @@ libpthread {
|
||||
__pthread_rwlock_init;
|
||||
__pthread_rwlock_tryrdlock;
|
||||
__pthread_rwlock_trywrlock;
|
||||
__res_state;
|
||||
pthread_attr_getstack;
|
||||
pthread_attr_setstack;
|
||||
pthread_barrier_destroy;
|
||||
|
26
nptl/res.c
26
nptl/res.c
@ -1,26 +0,0 @@
|
||||
/* Copyright (C) 2002-2021 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <features.h>
|
||||
#include <resolv.h>
|
||||
#include <tls.h>
|
||||
|
||||
struct __res_state *
|
||||
__res_state (void)
|
||||
{
|
||||
return __resp;
|
||||
}
|
@ -11,7 +11,6 @@ GLIBC_2.17 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.17 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.17 __pthread_unregister_cancel F
|
||||
GLIBC_2.17 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.17 __res_state F
|
||||
GLIBC_2.17 flockfile F
|
||||
GLIBC_2.17 ftrylockfile F
|
||||
GLIBC_2.17 funlockfile F
|
||||
|
@ -55,7 +55,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_setstack F
|
||||
GLIBC_2.2 pthread_barrier_destroy F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.32 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.32 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.32 __pthread_unregister_cancel F
|
||||
GLIBC_2.32 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.32 __res_state F
|
||||
GLIBC_2.32 call_once F
|
||||
GLIBC_2.32 cnd_broadcast F
|
||||
GLIBC_2.32 cnd_destroy F
|
||||
|
@ -42,7 +42,6 @@ GLIBC_2.4 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.4 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.4 __pthread_unregister_cancel F
|
||||
GLIBC_2.4 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.4 __res_state F
|
||||
GLIBC_2.4 flockfile F
|
||||
GLIBC_2.4 ftrylockfile F
|
||||
GLIBC_2.4 funlockfile F
|
||||
|
@ -42,7 +42,6 @@ GLIBC_2.4 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.4 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.4 __pthread_unregister_cancel F
|
||||
GLIBC_2.4 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.4 __res_state F
|
||||
GLIBC_2.4 flockfile F
|
||||
GLIBC_2.4 ftrylockfile F
|
||||
GLIBC_2.4 funlockfile F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.29 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.29 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.29 __pthread_unregister_cancel F
|
||||
GLIBC_2.29 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.29 __res_state F
|
||||
GLIBC_2.29 call_once F
|
||||
GLIBC_2.29 cnd_broadcast F
|
||||
GLIBC_2.29 cnd_destroy F
|
||||
|
@ -12,7 +12,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 flockfile F
|
||||
GLIBC_2.2 ftrylockfile F
|
||||
GLIBC_2.2 funlockfile F
|
||||
|
@ -55,7 +55,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_setstack F
|
||||
GLIBC_2.2 pthread_barrier_destroy F
|
||||
|
@ -12,7 +12,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 flockfile F
|
||||
GLIBC_2.2 ftrylockfile F
|
||||
GLIBC_2.2 funlockfile F
|
||||
|
@ -42,7 +42,6 @@ GLIBC_2.4 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.4 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.4 __pthread_unregister_cancel F
|
||||
GLIBC_2.4 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.4 __res_state F
|
||||
GLIBC_2.4 flockfile F
|
||||
GLIBC_2.4 ftrylockfile F
|
||||
GLIBC_2.4 funlockfile F
|
||||
|
@ -55,7 +55,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_setstack F
|
||||
GLIBC_2.2 pthread_barrier_destroy F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.18 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.18 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.18 __pthread_unregister_cancel F
|
||||
GLIBC_2.18 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.18 __res_state F
|
||||
GLIBC_2.18 flockfile F
|
||||
GLIBC_2.18 ftrylockfile F
|
||||
GLIBC_2.18 funlockfile F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.18 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.18 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.18 __pthread_unregister_cancel F
|
||||
GLIBC_2.18 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.18 __res_state F
|
||||
GLIBC_2.18 flockfile F
|
||||
GLIBC_2.18 ftrylockfile F
|
||||
GLIBC_2.18 funlockfile F
|
||||
|
@ -26,7 +26,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getguardsize F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_getstackaddr F
|
||||
|
@ -26,7 +26,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getguardsize F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_getstackaddr F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.21 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.21 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.21 __pthread_unregister_cancel F
|
||||
GLIBC_2.21 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.21 __res_state F
|
||||
GLIBC_2.21 flockfile F
|
||||
GLIBC_2.21 ftrylockfile F
|
||||
GLIBC_2.21 funlockfile F
|
||||
|
@ -55,7 +55,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_setstack F
|
||||
GLIBC_2.2 pthread_barrier_destroy F
|
||||
|
@ -33,7 +33,6 @@ GLIBC_2.3 __pthread_rwlock_destroy F
|
||||
GLIBC_2.3 __pthread_rwlock_init F
|
||||
GLIBC_2.3 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.3 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.3 __res_state F
|
||||
GLIBC_2.3 flockfile F
|
||||
GLIBC_2.3 ftrylockfile F
|
||||
GLIBC_2.3 funlockfile F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.17 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.17 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.17 __pthread_unregister_cancel F
|
||||
GLIBC_2.17 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.17 __res_state F
|
||||
GLIBC_2.17 flockfile F
|
||||
GLIBC_2.17 ftrylockfile F
|
||||
GLIBC_2.17 funlockfile F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.33 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.33 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.33 __pthread_unregister_cancel F
|
||||
GLIBC_2.33 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.33 __res_state F
|
||||
GLIBC_2.33 call_once F
|
||||
GLIBC_2.33 cnd_broadcast F
|
||||
GLIBC_2.33 cnd_destroy F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.27 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.27 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.27 __pthread_unregister_cancel F
|
||||
GLIBC_2.27 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.27 __res_state F
|
||||
GLIBC_2.27 flockfile F
|
||||
GLIBC_2.27 ftrylockfile F
|
||||
GLIBC_2.27 funlockfile F
|
||||
|
@ -56,7 +56,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_setstack F
|
||||
GLIBC_2.2 pthread_barrier_destroy F
|
||||
|
@ -13,7 +13,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 flockfile F
|
||||
GLIBC_2.2 ftrylockfile F
|
||||
GLIBC_2.2 funlockfile F
|
||||
|
@ -12,7 +12,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 flockfile F
|
||||
GLIBC_2.2 ftrylockfile F
|
||||
GLIBC_2.2 funlockfile F
|
||||
|
@ -12,7 +12,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 flockfile F
|
||||
GLIBC_2.2 ftrylockfile F
|
||||
GLIBC_2.2 funlockfile F
|
||||
|
@ -55,7 +55,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 pthread_attr_getstack F
|
||||
GLIBC_2.2 pthread_attr_setstack F
|
||||
GLIBC_2.2 pthread_barrier_destroy F
|
||||
|
@ -12,7 +12,6 @@ GLIBC_2.2 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2 __pthread_rwlock_init F
|
||||
GLIBC_2.2 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2 __res_state F
|
||||
GLIBC_2.2 flockfile F
|
||||
GLIBC_2.2 ftrylockfile F
|
||||
GLIBC_2.2 funlockfile F
|
||||
|
@ -12,7 +12,6 @@ GLIBC_2.2.5 __pthread_rwlock_destroy F
|
||||
GLIBC_2.2.5 __pthread_rwlock_init F
|
||||
GLIBC_2.2.5 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.2.5 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.2.5 __res_state F
|
||||
GLIBC_2.2.5 flockfile F
|
||||
GLIBC_2.2.5 ftrylockfile F
|
||||
GLIBC_2.2.5 funlockfile F
|
||||
|
@ -11,7 +11,6 @@ GLIBC_2.16 __pthread_rwlock_tryrdlock F
|
||||
GLIBC_2.16 __pthread_rwlock_trywrlock F
|
||||
GLIBC_2.16 __pthread_unregister_cancel F
|
||||
GLIBC_2.16 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.16 __res_state F
|
||||
GLIBC_2.16 flockfile F
|
||||
GLIBC_2.16 ftrylockfile F
|
||||
GLIBC_2.16 funlockfile F
|
||||
|
Loading…
Reference in New Issue
Block a user