]> sourceware.org Git - glibc.git/commitdiff
nptl: Remove pthread_self compatibility symbol from libpthread
authorFlorian Weimer <fweimer@redhat.com>
Thu, 15 Aug 2019 09:02:21 +0000 (11:02 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 15 Aug 2019 12:33:49 +0000 (14:33 +0200)
The symbol is no longer needed because since glibc 2.30, the dynamic
loader continues searching for the symbol in libc.

26 files changed:
ChangeLog
nptl/Makefile
nptl/Versions
nptl/compat-pthread_self.c [deleted file]
sysdeps/unix/sysv/linux/aarch64/libpthread.abilist
sysdeps/unix/sysv/linux/alpha/libpthread.abilist
sysdeps/unix/sysv/linux/arm/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/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/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 806ba939c8649be837b797182e94f75ec4dbcff7..14d1dc88755753172bfa3a725e05503cb7283f47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,55 @@
+2019-08-15  Florian Weimer  <fweimer@redhat.com>
+
+       nptl: Remove pthread_self compatibility symbol from libpthread.
+       * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
+       pthread_equal.
+       * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
+       * nptl/compat-pthread_self.c: Remove file.
+       * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
+       Remove pthread_self.
+       * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
+       Likewise.
+       * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
+       Likewise.
+       * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
+       Likewise.
+       * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
+       Likewise.
+       * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
+       Likewise.
+       * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
+       (GLIBC_2.4): Likewise.
+       * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
+       (GLIBC_2.0): Likewise.
+       * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
+       (GLIBC_2.18): Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
+       (GLIBC_2.0): Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
+       (GLIBC_2.0): Likewise.
+       * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
+       Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
+       (GLIBC_2.0): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
+       (GLIBC_2.3): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
+       (GLIBC_2.17): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
+       (GLIBC_2.0): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
+       (GLIBC_2.2): Likewise.
+       * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
+       Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
+       (GLIBC_2.0): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
+       (GLIBC_2.2): Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
+       (GLIBC_2.2.5): Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
+       (GLIBC_2.16): Likewise.
+
 2019-08-15  Florian Weimer  <fweimer@redhat.com>
 
        nptl: Move pthread_attr_destroy implementation into libc.
index a643306dd81f93ab411de5970181ffc0135309fd..df47bba8f21dd991df5bb7a3cef6eb12195f409d 100644 (file)
@@ -50,8 +50,7 @@ pthread-compat-wrappers = \
 libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \
                      pthread_create pthread_exit pthread_detach \
                      pthread_join pthread_tryjoin pthread_timedjoin \
-                     pthread_join_common \
-                     compat-pthread_self pthread_yield \
+                     pthread_join_common pthread_yield \
                      pthread_getconcurrency pthread_setconcurrency \
                      pthread_getschedparam pthread_setschedparam \
                      pthread_setschedprio \
index 50d671752ea0078decb0ce5247885d7e9b48ff09..3aea4235482e1b00aefaabe92c9946d3779d1836 100644 (file)
@@ -44,7 +44,7 @@ libc {
 
 libpthread {
   GLIBC_2.0 {
-    pthread_create; pthread_join; pthread_self; pthread_equal;
+    pthread_create; pthread_join;
     pthread_exit; pthread_detach;
 
     pthread_getschedparam; pthread_setschedparam;
diff --git a/nptl/compat-pthread_self.c b/nptl/compat-pthread_self.c
deleted file mode 100644 (file)
index 2ccf99d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Compatibility version of pthread_self in libpthread.
-   Copyright (C) 2017-2019 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
-   <http://www.gnu.org/licenses/>.  */
-
-/* Compatibility version of pthread_self for old binaries which link
-   directly against libpthread's version.  */
-
-#include <shlib-compat.h>
-
-#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_27)
-# include "pthread_self.c"
-compat_symbol (libpthread, pthread_self, pthread_self, GLIBC_2_0);
-#endif
index 8fd5115319922067f08dd2ae3212d17ed0cb5404..d4890aaef4702c7e62729aea8bddfb2139bc5219 100644 (file)
@@ -168,7 +168,6 @@ GLIBC_2.17 pthread_rwlockattr_getpshared F
 GLIBC_2.17 pthread_rwlockattr_init F
 GLIBC_2.17 pthread_rwlockattr_setkind_np F
 GLIBC_2.17 pthread_rwlockattr_setpshared F
-GLIBC_2.17 pthread_self F
 GLIBC_2.17 pthread_setaffinity_np F
 GLIBC_2.17 pthread_setcancelstate F
 GLIBC_2.17 pthread_setcanceltype F
index 373e0364bb384ba1929958c8ce16825d05cee336..50ede08efeb6dfc6e59126b7b444502554cee103 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index e3f9694d48d4482ba9d4c8ce9144558698ec6949..f00ac13693710b1924b8acc0f4a7ec4991ea030a 100644 (file)
@@ -198,7 +198,6 @@ GLIBC_2.4 pthread_rwlockattr_getpshared F
 GLIBC_2.4 pthread_rwlockattr_init F
 GLIBC_2.4 pthread_rwlockattr_setkind_np F
 GLIBC_2.4 pthread_rwlockattr_setpshared F
-GLIBC_2.4 pthread_self F
 GLIBC_2.4 pthread_setaffinity_np F
 GLIBC_2.4 pthread_setcancelstate F
 GLIBC_2.4 pthread_setcanceltype F
index dd52f5f42000eebe27a57b49f38b291c1103e91d..87e57264f7781b495b85acc3863cf11462c3e2dc 100644 (file)
@@ -150,7 +150,6 @@ GLIBC_2.2 pthread_rwlockattr_getpshared F
 GLIBC_2.2 pthread_rwlockattr_init F
 GLIBC_2.2 pthread_rwlockattr_setkind_np F
 GLIBC_2.2 pthread_rwlockattr_setpshared F
-GLIBC_2.2 pthread_self F
 GLIBC_2.2 pthread_setcancelstate F
 GLIBC_2.2 pthread_setcanceltype F
 GLIBC_2.2 pthread_setconcurrency F
index 575920fd10c79d3a653ced8319519f9d8ad3e8c8..2c9a8d34c65229e18b1acbe9a6f39399911af1c5 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index ebd5b0c33130d80bb457d1ffa4a7af85deb23388..fd437c9e43d48fc843c8a0f2e355b9e1912afa54 100644 (file)
@@ -150,7 +150,6 @@ GLIBC_2.2 pthread_rwlockattr_getpshared F
 GLIBC_2.2 pthread_rwlockattr_init F
 GLIBC_2.2 pthread_rwlockattr_setkind_np F
 GLIBC_2.2 pthread_rwlockattr_setpshared F
-GLIBC_2.2 pthread_self F
 GLIBC_2.2 pthread_setcancelstate F
 GLIBC_2.2 pthread_setcanceltype F
 GLIBC_2.2 pthread_setconcurrency F
index e3f9694d48d4482ba9d4c8ce9144558698ec6949..f00ac13693710b1924b8acc0f4a7ec4991ea030a 100644 (file)
@@ -198,7 +198,6 @@ GLIBC_2.4 pthread_rwlockattr_getpshared F
 GLIBC_2.4 pthread_rwlockattr_init F
 GLIBC_2.4 pthread_rwlockattr_setkind_np F
 GLIBC_2.4 pthread_rwlockattr_setpshared F
-GLIBC_2.4 pthread_self F
 GLIBC_2.4 pthread_setaffinity_np F
 GLIBC_2.4 pthread_setcancelstate F
 GLIBC_2.4 pthread_setcanceltype F
index 575920fd10c79d3a653ced8319519f9d8ad3e8c8..2c9a8d34c65229e18b1acbe9a6f39399911af1c5 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index dd3e14caf7504da90659555a50895f7340041255..882ef45edcf9830333e70b94fbb437bc7ac4095a 100644 (file)
@@ -169,7 +169,6 @@ GLIBC_2.18 pthread_rwlockattr_getpshared F
 GLIBC_2.18 pthread_rwlockattr_init F
 GLIBC_2.18 pthread_rwlockattr_setkind_np F
 GLIBC_2.18 pthread_rwlockattr_setpshared F
-GLIBC_2.18 pthread_self F
 GLIBC_2.18 pthread_setaffinity_np F
 GLIBC_2.18 pthread_setattr_default_np F
 GLIBC_2.18 pthread_setcancelstate F
index a0eaa0d0010805a6e9deab3720ccc6a9dc10b209..6d9905025ca403ed58a00240eb6e55aaa2a95703 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index a0eaa0d0010805a6e9deab3720ccc6a9dc10b209..6d9905025ca403ed58a00240eb6e55aaa2a95703 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index 49f5fa8659118789e128fe25ce77b737b46498ae..3e4d614b0cc6f1822ff75534f56a309691d7d4f6 100644 (file)
@@ -169,7 +169,6 @@ GLIBC_2.21 pthread_rwlockattr_getpshared F
 GLIBC_2.21 pthread_rwlockattr_init F
 GLIBC_2.21 pthread_rwlockattr_setkind_np F
 GLIBC_2.21 pthread_rwlockattr_setpshared F
-GLIBC_2.21 pthread_self F
 GLIBC_2.21 pthread_setaffinity_np F
 GLIBC_2.21 pthread_setattr_default_np F
 GLIBC_2.21 pthread_setcancelstate F
index 9950f7a4ed6f189048775648b36ea579e77cc1b4..cdc74c76d4a8d0662995082d25151c883b606d73 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index 03132b427074a13a553208297a32d32b5c9b2db3..42ee0d94730dcc314c19dd630f9421eb024760ef 100644 (file)
@@ -172,7 +172,6 @@ GLIBC_2.3 pthread_rwlockattr_getpshared F
 GLIBC_2.3 pthread_rwlockattr_init F
 GLIBC_2.3 pthread_rwlockattr_setkind_np F
 GLIBC_2.3 pthread_rwlockattr_setpshared F
-GLIBC_2.3 pthread_self F
 GLIBC_2.3 pthread_setcancelstate F
 GLIBC_2.3 pthread_setcanceltype F
 GLIBC_2.3 pthread_setconcurrency F
index 8fd5115319922067f08dd2ae3212d17ed0cb5404..d4890aaef4702c7e62729aea8bddfb2139bc5219 100644 (file)
@@ -168,7 +168,6 @@ GLIBC_2.17 pthread_rwlockattr_getpshared F
 GLIBC_2.17 pthread_rwlockattr_init F
 GLIBC_2.17 pthread_rwlockattr_setkind_np F
 GLIBC_2.17 pthread_rwlockattr_setpshared F
-GLIBC_2.17 pthread_self F
 GLIBC_2.17 pthread_setaffinity_np F
 GLIBC_2.17 pthread_setcancelstate F
 GLIBC_2.17 pthread_setcanceltype F
index 9ce4b812af3b41ede888e1ab91f3124d1c885216..0a0c2b38724a2a8832f178cce13e4832a5b3fe49 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index f5ef2d2f8c480b3cd6dcf543b0744048c4029bbd..c48468e82aabc6d89232a126a61a7dc1d4e2dce6 100644 (file)
@@ -152,7 +152,6 @@ GLIBC_2.2 pthread_rwlockattr_getpshared F
 GLIBC_2.2 pthread_rwlockattr_init F
 GLIBC_2.2 pthread_rwlockattr_setkind_np F
 GLIBC_2.2 pthread_rwlockattr_setpshared F
-GLIBC_2.2 pthread_self F
 GLIBC_2.2 pthread_setcancelstate F
 GLIBC_2.2 pthread_setcanceltype F
 GLIBC_2.2 pthread_setconcurrency F
index dd52f5f42000eebe27a57b49f38b291c1103e91d..87e57264f7781b495b85acc3863cf11462c3e2dc 100644 (file)
@@ -150,7 +150,6 @@ GLIBC_2.2 pthread_rwlockattr_getpshared F
 GLIBC_2.2 pthread_rwlockattr_init F
 GLIBC_2.2 pthread_rwlockattr_setkind_np F
 GLIBC_2.2 pthread_rwlockattr_setpshared F
-GLIBC_2.2 pthread_self F
 GLIBC_2.2 pthread_setcancelstate F
 GLIBC_2.2 pthread_setcanceltype F
 GLIBC_2.2 pthread_setconcurrency F
index 373e0364bb384ba1929958c8ce16825d05cee336..50ede08efeb6dfc6e59126b7b444502554cee103 100644 (file)
@@ -86,7 +86,6 @@ GLIBC_2.0 pthread_mutexattr_getkind_np F
 GLIBC_2.0 pthread_mutexattr_init F
 GLIBC_2.0 pthread_mutexattr_setkind_np F
 GLIBC_2.0 pthread_once F
-GLIBC_2.0 pthread_self F
 GLIBC_2.0 pthread_setcancelstate F
 GLIBC_2.0 pthread_setcanceltype F
 GLIBC_2.0 pthread_setschedparam F
index ebd5b0c33130d80bb457d1ffa4a7af85deb23388..fd437c9e43d48fc843c8a0f2e355b9e1912afa54 100644 (file)
@@ -150,7 +150,6 @@ GLIBC_2.2 pthread_rwlockattr_getpshared F
 GLIBC_2.2 pthread_rwlockattr_init F
 GLIBC_2.2 pthread_rwlockattr_setkind_np F
 GLIBC_2.2 pthread_rwlockattr_setpshared F
-GLIBC_2.2 pthread_self F
 GLIBC_2.2 pthread_setcancelstate F
 GLIBC_2.2 pthread_setcanceltype F
 GLIBC_2.2 pthread_setconcurrency F
index 1017c9a83845e329ee49bce6634848f66b2d326b..cc8a5cda1962f5dc62dd891ce0412f2a5e3e3f32 100644 (file)
@@ -151,7 +151,6 @@ GLIBC_2.2.5 pthread_rwlockattr_getpshared F
 GLIBC_2.2.5 pthread_rwlockattr_init F
 GLIBC_2.2.5 pthread_rwlockattr_setkind_np F
 GLIBC_2.2.5 pthread_rwlockattr_setpshared F
-GLIBC_2.2.5 pthread_self F
 GLIBC_2.2.5 pthread_setcancelstate F
 GLIBC_2.2.5 pthread_setcanceltype F
 GLIBC_2.2.5 pthread_setconcurrency F
index 25f26cdde81e4a13d8a450545d34a14676533e96..cea8275142db937fa1c76e209fb6b1829a81ed23 100644 (file)
@@ -168,7 +168,6 @@ GLIBC_2.16 pthread_rwlockattr_getpshared F
 GLIBC_2.16 pthread_rwlockattr_init F
 GLIBC_2.16 pthread_rwlockattr_setkind_np F
 GLIBC_2.16 pthread_rwlockattr_setpshared F
-GLIBC_2.16 pthread_self F
 GLIBC_2.16 pthread_setaffinity_np F
 GLIBC_2.16 pthread_setcancelstate F
 GLIBC_2.16 pthread_setcanceltype F
This page took 0.094239 seconds and 5 git commands to generate.