]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Move system to libc
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 15 Mar 2021 14:02:21 +0000 (11:02 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 18 Mar 2021 18:54:39 +0000 (15:54 -0300)
The libc version is identical and built with same flags.

Checked on x86_64-linux-gnu.

28 files changed:
nptl/Makefile
nptl/Versions
nptl/pt-system.c [deleted file]
sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
sysdeps/unix/sysv/linux/alpha/libpthread.abilist
sysdeps/unix/sysv/linux/arm/be/libpthread.abilist
sysdeps/unix/sysv/linux/arm/le/libpthread.abilist
sysdeps/unix/sysv/linux/hppa/libpthread.abilist
sysdeps/unix/sysv/linux/i386/libpthread.abilist
sysdeps/unix/sysv/linux/ia64/libpthread.abilist
sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
sysdeps/unix/sysv/linux/nios2/libpthread.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
sysdeps/unix/sysv/linux/sh/be/libpthread.abilist
sysdeps/unix/sysv/linux/sh/le/libpthread.abilist
sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist

index 9befd09df8a68eb52dfb5d57daf3aa364cfa4e7a..d3704401fbccda0ff74ff101713662bdbc15cf3e 100644 (file)
@@ -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++
index 58d1ff29b4adad5d552272fef7d81c7234cba1c9..be7a8e68cc2fc8825ef9312ca169875aaa11601e 100644 (file)
@@ -173,7 +173,6 @@ libpthread {
     send;
     sigaction;
     siglongjmp;
-    system;
   }
 
   GLIBC_2.1 {
diff --git a/nptl/pt-system.c b/nptl/pt-system.c
deleted file mode 100644 (file)
index 29d4b85..0000000
+++ /dev/null
@@ -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
index e7151c22b22d25c292b7a31eafeead60946ac545..bbd24afae2bfcdf238394a76bc5668b7dec95df2 100644 (file)
@@ -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
index d7896883ded8ea3ec973405767d22e24605c6a59..ec2128b5ab65d6efd1f7a4f652b579fa03ec666e 100644 (file)
@@ -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
index e035da62e4849981aa761c70c862eb4d2c114d94..6abba5736dfdb75b88a9b6088934a0b0db203f62 100644 (file)
@@ -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
index e035da62e4849981aa761c70c862eb4d2c114d94..6abba5736dfdb75b88a9b6088934a0b0db203f62 100644 (file)
@@ -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
index db3a338b646cde764d36e7fbe70477481357fd5a..8c729752d005e747329e2373f462f4300bb39cd4 100644 (file)
@@ -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
index 16d260f10e66d7f4da667e3f0cc7da0d7e11d55c..aa748acf8f0c0f7e6cb1477988a76301c0e22438 100644 (file)
@@ -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
index 8c1c1a410e30aa2a2dbccffd62b571c63dd2c1b0..479dfb394dd1672407f2ee9e75994e944916fa3e 100644 (file)
@@ -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
index e035da62e4849981aa761c70c862eb4d2c114d94..6abba5736dfdb75b88a9b6088934a0b0db203f62 100644 (file)
@@ -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
index 16d260f10e66d7f4da667e3f0cc7da0d7e11d55c..aa748acf8f0c0f7e6cb1477988a76301c0e22438 100644 (file)
@@ -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
index edb07d4c27de5b6a4537d1dcd55becc52b1af27c..a1f250b9f50307438eed360586a81ef75a44a7f5 100644 (file)
@@ -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
index edb07d4c27de5b6a4537d1dcd55becc52b1af27c..a1f250b9f50307438eed360586a81ef75a44a7f5 100644 (file)
@@ -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
index 430b3b273479c22570335d4c741b00cf6608984a..9c35d0da80fea467c67d047ea1f095ce1cbeaabd 100644 (file)
@@ -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
index 430b3b273479c22570335d4c741b00cf6608984a..9c35d0da80fea467c67d047ea1f095ce1cbeaabd 100644 (file)
@@ -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
index a54ce2564ae23ac762a2afb5180210b056c69bbb..afdbd3d28664d4845f7c193fd392820afa2d7a4e 100644 (file)
@@ -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
index 72214252700c4b726b6f5db7c89fe19b7fb97c49..9c173663abd130a2c1a84dc77d869ebb7dcc30eb 100644 (file)
@@ -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
index 27209507ca30c3ecb1c3af415db7454b9878b6c4..3d14cbccfeb8b201ac3abc31c01ad63b44c37904 100644 (file)
@@ -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
index e7151c22b22d25c292b7a31eafeead60946ac545..bbd24afae2bfcdf238394a76bc5668b7dec95df2 100644 (file)
@@ -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
index 96f1604b71b41b729177f5a362821b4ec602ea60..aeeeae51a3c4de4aee691bce3c8bc2bd7f46b3eb 100644 (file)
@@ -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
index 0e0548f08e6adba3b2cf4568ff6ff9a8551ad6c6..105842b87e931d31a191f64b70a90c8ad83dab6c 100644 (file)
@@ -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
index db3a338b646cde764d36e7fbe70477481357fd5a..8c729752d005e747329e2373f462f4300bb39cd4 100644 (file)
@@ -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
index db3a338b646cde764d36e7fbe70477481357fd5a..8c729752d005e747329e2373f462f4300bb39cd4 100644 (file)
@@ -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
index d7896883ded8ea3ec973405767d22e24605c6a59..ec2128b5ab65d6efd1f7a4f652b579fa03ec666e 100644 (file)
@@ -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
index 8c1c1a410e30aa2a2dbccffd62b571c63dd2c1b0..479dfb394dd1672407f2ee9e75994e944916fa3e 100644 (file)
@@ -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
index f911712d2fde7d5323de3b4e2d4ebf7d49758794..0211160097e43366c3b44a037e0ff3fb776626a7 100644 (file)
@@ -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
index de3749d427548afb049486dd50650d293e5cffdd..e79b5d6e289b079a33ebdef9e6e3bf3590cebc87 100644 (file)
@@ -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