mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 11:50:06 +00:00
nptl: Move system to libc
The libc version is identical and built with same flags. Checked on x86_64-linux-gnu.
This commit is contained in:
parent
9cf242997d
commit
d5ddd583da
@ -114,7 +114,6 @@ libpthread-routines = \
|
||||
pt-interp \
|
||||
pt-longjmp \
|
||||
pt-raise \
|
||||
pt-system \
|
||||
pthread_attr_getaffinity \
|
||||
pthread_attr_getguardsize \
|
||||
pthread_attr_getstack \
|
||||
@ -296,8 +295,6 @@ CFLAGS-send.c += -fexceptions -fasynchronous-unwind-tables
|
||||
CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
|
||||
CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables
|
||||
|
||||
CFLAGS-pt-system.c += -fexceptions
|
||||
|
||||
CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
|
||||
|
||||
LDLIBS-tst-once5 = -lstdc++
|
||||
|
@ -173,7 +173,6 @@ libpthread {
|
||||
send;
|
||||
sigaction;
|
||||
siglongjmp;
|
||||
system;
|
||||
}
|
||||
|
||||
GLIBC_2.1 {
|
||||
|
@ -1,45 +0,0 @@
|
||||
/* ABI compatibility for 'system' symbol in libpthread ABI.
|
||||
Copyright (C) 2002-2021 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||
|
||||
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 <stdlib.h>
|
||||
#include <shlib-compat.h>
|
||||
|
||||
/* libpthread once had its own 'system', though there was no apparent
|
||||
reason for it. There is no use in having a separate symbol in
|
||||
libpthread, but the historical ABI requires it. For static linking,
|
||||
there is no need to provide anything here--the libc version will be
|
||||
linked in. For shared library ABI compatibility, there must be a
|
||||
'system' symbol in libpthread.so.
|
||||
|
||||
With an IFUNC resolver, it would be possible to avoid the indirection,
|
||||
but the IFUNC resolver might run before the __libc_system symbol has
|
||||
been relocated, in which case the IFUNC resolver would not be able to
|
||||
provide the correct address. */
|
||||
|
||||
#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)
|
||||
|
||||
static int __attribute__ ((used))
|
||||
system_compat (const char *line)
|
||||
{
|
||||
return __libc_system (line);
|
||||
}
|
||||
strong_alias (system_compat, system_alias)
|
||||
compat_symbol (libpthread, system_alias, system, GLIBC_2_0);
|
||||
|
||||
#endif
|
@ -165,7 +165,6 @@ GLIBC_2.17 sem_wait F
|
||||
GLIBC_2.17 send F
|
||||
GLIBC_2.17 sigaction F
|
||||
GLIBC_2.17 siglongjmp F
|
||||
GLIBC_2.17 system F
|
||||
GLIBC_2.18 pthread_getattr_default_np F
|
||||
GLIBC_2.18 pthread_setattr_default_np F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.1 __libc_allocate_rtsig F
|
||||
GLIBC_2.1 __libc_current_sigrtmax F
|
||||
GLIBC_2.1 __libc_current_sigrtmin F
|
||||
|
@ -194,4 +194,3 @@ GLIBC_2.4 sem_wait F
|
||||
GLIBC_2.4 send F
|
||||
GLIBC_2.4 sigaction F
|
||||
GLIBC_2.4 siglongjmp F
|
||||
GLIBC_2.4 system F
|
||||
|
@ -194,4 +194,3 @@ GLIBC_2.4 sem_wait F
|
||||
GLIBC_2.4 send F
|
||||
GLIBC_2.4 sigaction F
|
||||
GLIBC_2.4 siglongjmp F
|
||||
GLIBC_2.4 system F
|
||||
|
@ -145,7 +145,6 @@ GLIBC_2.2 sem_wait F
|
||||
GLIBC_2.2 send F
|
||||
GLIBC_2.2 sigaction F
|
||||
GLIBC_2.2 siglongjmp F
|
||||
GLIBC_2.2 system F
|
||||
GLIBC_2.2.3 __libpthread_version_placeholder F
|
||||
GLIBC_2.2.6 __libpthread_version_placeholder F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.1 __libc_allocate_rtsig F
|
||||
GLIBC_2.1 __libc_current_sigrtmax F
|
||||
GLIBC_2.1 __libc_current_sigrtmin F
|
||||
|
@ -145,7 +145,6 @@ GLIBC_2.2 sem_wait F
|
||||
GLIBC_2.2 send F
|
||||
GLIBC_2.2 sigaction F
|
||||
GLIBC_2.2 siglongjmp F
|
||||
GLIBC_2.2 system F
|
||||
GLIBC_2.2.3 __libpthread_version_placeholder F
|
||||
GLIBC_2.2.6 __libpthread_version_placeholder F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -194,4 +194,3 @@ GLIBC_2.4 sem_wait F
|
||||
GLIBC_2.4 send F
|
||||
GLIBC_2.4 sigaction F
|
||||
GLIBC_2.4 siglongjmp F
|
||||
GLIBC_2.4 system F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.1 __libc_allocate_rtsig F
|
||||
GLIBC_2.1 __libc_current_sigrtmax F
|
||||
GLIBC_2.1 __libc_current_sigrtmin F
|
||||
|
@ -167,7 +167,6 @@ GLIBC_2.18 sem_wait F
|
||||
GLIBC_2.18 send F
|
||||
GLIBC_2.18 sigaction F
|
||||
GLIBC_2.18 siglongjmp F
|
||||
GLIBC_2.18 system F
|
||||
GLIBC_2.28 call_once F
|
||||
GLIBC_2.28 cnd_broadcast F
|
||||
GLIBC_2.28 cnd_destroy F
|
||||
|
@ -167,7 +167,6 @@ GLIBC_2.18 sem_wait F
|
||||
GLIBC_2.18 send F
|
||||
GLIBC_2.18 sigaction F
|
||||
GLIBC_2.18 siglongjmp F
|
||||
GLIBC_2.18 system F
|
||||
GLIBC_2.28 call_once F
|
||||
GLIBC_2.28 cnd_broadcast F
|
||||
GLIBC_2.28 cnd_destroy F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.11 pthread_sigqueue F
|
||||
GLIBC_2.12 pthread_getname_np F
|
||||
GLIBC_2.12 pthread_mutex_consistent F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.11 pthread_sigqueue F
|
||||
GLIBC_2.12 pthread_getname_np F
|
||||
GLIBC_2.12 pthread_mutex_consistent F
|
||||
|
@ -167,7 +167,6 @@ GLIBC_2.21 sem_wait F
|
||||
GLIBC_2.21 send F
|
||||
GLIBC_2.21 sigaction F
|
||||
GLIBC_2.21 siglongjmp F
|
||||
GLIBC_2.21 system F
|
||||
GLIBC_2.28 call_once F
|
||||
GLIBC_2.28 cnd_broadcast F
|
||||
GLIBC_2.28 cnd_destroy F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.1 __libc_allocate_rtsig F
|
||||
GLIBC_2.1 __libc_current_sigrtmax F
|
||||
GLIBC_2.1 __libc_current_sigrtmin F
|
||||
|
@ -165,7 +165,6 @@ GLIBC_2.3 sem_wait F
|
||||
GLIBC_2.3 send F
|
||||
GLIBC_2.3 sigaction F
|
||||
GLIBC_2.3 siglongjmp F
|
||||
GLIBC_2.3 system F
|
||||
GLIBC_2.3.2 pthread_cond_broadcast F
|
||||
GLIBC_2.3.2 pthread_cond_signal F
|
||||
GLIBC_2.3.2 pthread_cond_timedwait F
|
||||
|
@ -165,7 +165,6 @@ GLIBC_2.17 sem_wait F
|
||||
GLIBC_2.17 send F
|
||||
GLIBC_2.17 sigaction F
|
||||
GLIBC_2.17 siglongjmp F
|
||||
GLIBC_2.17 system F
|
||||
GLIBC_2.18 pthread_getattr_default_np F
|
||||
GLIBC_2.18 pthread_setattr_default_np F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.1 __libc_allocate_rtsig F
|
||||
GLIBC_2.1 __libc_current_sigrtmax F
|
||||
GLIBC_2.1 __libc_current_sigrtmin F
|
||||
|
@ -147,7 +147,6 @@ GLIBC_2.2 sem_wait F
|
||||
GLIBC_2.2 send F
|
||||
GLIBC_2.2 sigaction F
|
||||
GLIBC_2.2 siglongjmp F
|
||||
GLIBC_2.2 system F
|
||||
GLIBC_2.2.3 __libpthread_version_placeholder F
|
||||
GLIBC_2.2.6 __libpthread_version_placeholder F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -145,7 +145,6 @@ GLIBC_2.2 sem_wait F
|
||||
GLIBC_2.2 send F
|
||||
GLIBC_2.2 sigaction F
|
||||
GLIBC_2.2 siglongjmp F
|
||||
GLIBC_2.2 system F
|
||||
GLIBC_2.2.3 __libpthread_version_placeholder F
|
||||
GLIBC_2.2.6 __libpthread_version_placeholder F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -145,7 +145,6 @@ GLIBC_2.2 sem_wait F
|
||||
GLIBC_2.2 send F
|
||||
GLIBC_2.2 sigaction F
|
||||
GLIBC_2.2 siglongjmp F
|
||||
GLIBC_2.2 system F
|
||||
GLIBC_2.2.3 __libpthread_version_placeholder F
|
||||
GLIBC_2.2.6 __libpthread_version_placeholder F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -68,7 +68,6 @@ GLIBC_2.0 sem_wait F
|
||||
GLIBC_2.0 send F
|
||||
GLIBC_2.0 sigaction F
|
||||
GLIBC_2.0 siglongjmp F
|
||||
GLIBC_2.0 system F
|
||||
GLIBC_2.1 __libc_allocate_rtsig F
|
||||
GLIBC_2.1 __libc_current_sigrtmax F
|
||||
GLIBC_2.1 __libc_current_sigrtmin F
|
||||
|
@ -145,7 +145,6 @@ GLIBC_2.2 sem_wait F
|
||||
GLIBC_2.2 send F
|
||||
GLIBC_2.2 sigaction F
|
||||
GLIBC_2.2 siglongjmp F
|
||||
GLIBC_2.2 system F
|
||||
GLIBC_2.2.3 __libpthread_version_placeholder F
|
||||
GLIBC_2.2.6 __libpthread_version_placeholder F
|
||||
GLIBC_2.28 call_once F
|
||||
|
@ -145,7 +145,6 @@ GLIBC_2.2.5 sem_wait F
|
||||
GLIBC_2.2.5 send F
|
||||
GLIBC_2.2.5 sigaction F
|
||||
GLIBC_2.2.5 siglongjmp F
|
||||
GLIBC_2.2.5 system F
|
||||
GLIBC_2.2.6 __libpthread_version_placeholder F
|
||||
GLIBC_2.28 call_once F
|
||||
GLIBC_2.28 cnd_broadcast F
|
||||
|
@ -165,7 +165,6 @@ GLIBC_2.16 sem_wait F
|
||||
GLIBC_2.16 send F
|
||||
GLIBC_2.16 sigaction F
|
||||
GLIBC_2.16 siglongjmp F
|
||||
GLIBC_2.16 system F
|
||||
GLIBC_2.18 pthread_getattr_default_np F
|
||||
GLIBC_2.18 pthread_setattr_default_np F
|
||||
GLIBC_2.28 call_once F
|
||||
|
Loading…
Reference in New Issue
Block a user