From patchwork Fri Mar 19 20:29:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 42721 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 42E69386F825; Fri, 19 Mar 2021 20:29:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42E69386F825 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1616185776; bh=hAH0rro6+1tgPVbu4boQK1e/XCA9jKNHd2a9U5IQUZk=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=fhrJ0M4fE2VCZ7WWIe7zjLhAsUTQF/HzzqqVTybO9bY+xT8ep4UMn/OEmSag2wRBl ybHUbyx5lpVs1UTHJZaRiardW1QfBlWhF7uWkIfLokQA8AQwRSaDT1LfXSazW7OHD2 FMh7CZZt3fBsliS5YKAHQkN9h+opAtE3Gu9evU74= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by sourceware.org (Postfix) with ESMTPS id A01EF3842429 for ; Fri, 19 Mar 2021 20:29:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A01EF3842429 Received: by mail-qv1-xf33.google.com with SMTP id t5so5697188qvs.5 for ; Fri, 19 Mar 2021 13:29:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hAH0rro6+1tgPVbu4boQK1e/XCA9jKNHd2a9U5IQUZk=; b=q7KDrEn6+z7sctACJD0++ihHkMgbNjlO8Ce9tB0/GC24IqRHEXlXx6rSXQ5ITuRcoo mCLDFkbqeFIuk8QQ60f3jodjpEBagbV8WqZgLjUaonfUS63H1P6zo+lVSujeQh357RDA Tr3cSmb9QaUPrT21qMHnbZyz3j8EZqLoGybiJ5+vOibvMF1LFoS+sjDd4zQxrZmP97bk hnfSZ88UyKb8lkENGYP/pVAjWTmVJN4bOP5AXK8P4FunHlvnv+doZNJT1sc171LU1pEI DjunK49IYFEBBivoR8BgpW9nqJI50CEKW00R1ZLr8h4tNJopVneX2V78tIzy2Nn82Pty BIYA== X-Gm-Message-State: AOAM533jFBnVyU58pE/dOFGz1yzk0a9hUr4M6zKJqbLnhSNLfmNPwhVM StQlisUNZQg2R7G06kEy60HisXv0JzVHekVG X-Google-Smtp-Source: ABdhPJyk5IcRSUtHvHynPODS0bNA4xkR2uVnmLhTSBXbXgDblq3dEm0jPClCUUuAmlLSIpzCxyG/Qw== X-Received: by 2002:a0c:fe0c:: with SMTP id x12mr10714283qvr.16.1616185771781; Fri, 19 Mar 2021 13:29:31 -0700 (PDT) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id i25sm5259747qka.38.2021.03.19.13.29.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 13:29:31 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v2 11/14] nptl: Remove pthread raise implementation Date: Fri, 19 Mar 2021 17:29:11 -0300 Message-Id: <20210319202914.2475530-12-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210319202914.2475530-1-adhemerval.zanella@linaro.org> References: <20210319202914.2475530-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_BLACK autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The Linux version already target the current thread by using tgkill along with getpid and gettid. For arm, libpthread does not do a intra PLT since it will call the raise from libc. Checked on x86_64-linux-gnu. --- nptl/Makefile | 1 - nptl/Versions | 1 - nptl/pt-raise.c | 29 ------------------- .../sysv/linux/aarch64/libpthread.abilist | 1 - .../unix/sysv/linux/alpha/libpthread.abilist | 1 - .../unix/sysv/linux/arc/libpthread.abilist | 1 - .../unix/sysv/linux/arm/be/libpthread.abilist | 1 - .../unix/sysv/linux/arm/le/libpthread.abilist | 1 - sysdeps/unix/sysv/linux/arm/localplt.data | 1 - .../unix/sysv/linux/csky/libpthread.abilist | 1 - .../unix/sysv/linux/hppa/libpthread.abilist | 1 - .../unix/sysv/linux/i386/libpthread.abilist | 1 - .../unix/sysv/linux/ia64/libpthread.abilist | 1 - .../linux/m68k/coldfire/libpthread.abilist | 1 - .../sysv/linux/m68k/m680x0/libpthread.abilist | 1 - .../linux/microblaze/be/libpthread.abilist | 1 - .../linux/microblaze/le/libpthread.abilist | 1 - .../sysv/linux/mips/mips32/libpthread.abilist | 1 - .../sysv/linux/mips/mips64/libpthread.abilist | 1 - .../unix/sysv/linux/nios2/libpthread.abilist | 1 - .../powerpc/powerpc32/libpthread.abilist | 1 - .../powerpc/powerpc64/be/libpthread.abilist | 1 - .../powerpc/powerpc64/le/libpthread.abilist | 1 - sysdeps/unix/sysv/linux/pt-raise.c | 20 ------------- .../sysv/linux/riscv/rv32/libpthread.abilist | 1 - .../sysv/linux/riscv/rv64/libpthread.abilist | 1 - .../linux/s390/s390-32/libpthread.abilist | 1 - .../linux/s390/s390-64/libpthread.abilist | 1 - .../unix/sysv/linux/sh/be/libpthread.abilist | 1 - .../unix/sysv/linux/sh/le/libpthread.abilist | 1 - .../linux/sparc/sparc32/libpthread.abilist | 1 - .../linux/sparc/sparc64/libpthread.abilist | 1 - .../sysv/linux/x86_64/64/libpthread.abilist | 1 - .../sysv/linux/x86_64/x32/libpthread.abilist | 1 - 34 files changed, 81 deletions(-) delete mode 100644 nptl/pt-raise.c delete mode 100644 sysdeps/unix/sysv/linux/pt-raise.c diff --git a/nptl/Makefile b/nptl/Makefile index 1e01d8e24c..dc56002c1e 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -103,7 +103,6 @@ libpthread-routines = \ pt-cleanup \ pt-interp \ pt-longjmp \ - pt-raise \ pthread_attr_getaffinity \ pthread_attr_getguardsize \ pthread_attr_getstack \ diff --git a/nptl/Versions b/nptl/Versions index 4b91eacc4a..697982bf1f 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -161,7 +161,6 @@ libpthread { pthread_setspecific; pthread_sigmask; pthread_testcancel; - raise; sem_destroy; sem_getvalue; sem_init; diff --git a/nptl/pt-raise.c b/nptl/pt-raise.c deleted file mode 100644 index 711c870fab..0000000000 --- a/nptl/pt-raise.c +++ /dev/null @@ -1,29 +0,0 @@ -/* ISO C raise function for libpthread. - Copyright (C) 2002-2021 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Ulrich Drepper , 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 - . */ - -#include -#include - - -int -raise (int sig) -{ - /* This is what POSIX says must happen. */ - return pthread_kill (pthread_self (), sig); -} diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index 57d20b9916..8f29a20e1e 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -136,7 +136,6 @@ GLIBC_2.17 pthread_testcancel F GLIBC_2.17 pthread_timedjoin_np F GLIBC_2.17 pthread_tryjoin_np F GLIBC_2.17 pthread_yield F -GLIBC_2.17 raise F GLIBC_2.17 sem_close F GLIBC_2.17 sem_destroy F GLIBC_2.17 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index 251adefc29..4d6547c75e 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index 0ce5a9b4e0..d279cc73e0 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -155,7 +155,6 @@ GLIBC_2.32 pthread_testcancel F GLIBC_2.32 pthread_timedjoin_np F GLIBC_2.32 pthread_tryjoin_np F GLIBC_2.32 pthread_yield F -GLIBC_2.32 raise F GLIBC_2.32 sem_clockwait F GLIBC_2.32 sem_close F GLIBC_2.32 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index ad662c1e90..8df3bafa99 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -165,7 +165,6 @@ GLIBC_2.4 pthread_testcancel F GLIBC_2.4 pthread_timedjoin_np F GLIBC_2.4 pthread_tryjoin_np F GLIBC_2.4 pthread_yield F -GLIBC_2.4 raise F GLIBC_2.4 sem_close F GLIBC_2.4 sem_destroy F GLIBC_2.4 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index ad662c1e90..8df3bafa99 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -165,7 +165,6 @@ GLIBC_2.4 pthread_testcancel F GLIBC_2.4 pthread_timedjoin_np F GLIBC_2.4 pthread_tryjoin_np F GLIBC_2.4 pthread_yield F -GLIBC_2.4 raise F GLIBC_2.4 sem_close F GLIBC_2.4 sem_destroy F GLIBC_2.4 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/arm/localplt.data b/sysdeps/unix/sysv/linux/arm/localplt.data index 0c3af0c64e..eb315da2f1 100644 --- a/sysdeps/unix/sysv/linux/arm/localplt.data +++ b/sysdeps/unix/sysv/linux/arm/localplt.data @@ -5,7 +5,6 @@ libc.so: memalign libc.so: raise libc.so: realloc libm.so: matherr -libpthread.so: raise # The dynamic loader needs __tls_get_addr for TLS. ld.so: __tls_get_addr # The TLS-enabled version of these functions is interposed from libc.so. diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index d9a38c96bf..6dc646b74e 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -150,7 +150,6 @@ GLIBC_2.29 pthread_testcancel F GLIBC_2.29 pthread_timedjoin_np F GLIBC_2.29 pthread_tryjoin_np F GLIBC_2.29 pthread_yield F -GLIBC_2.29 raise F GLIBC_2.29 sem_close F GLIBC_2.29 sem_destroy F GLIBC_2.29 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index dcd57e5407..26a4a18a91 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -116,7 +116,6 @@ GLIBC_2.2 pthread_spin_trylock F GLIBC_2.2 pthread_spin_unlock F GLIBC_2.2 pthread_testcancel F GLIBC_2.2 pthread_yield F -GLIBC_2.2 raise F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index a9e64dff53..fe6d086be6 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index f9792290f4..43fd3ea39a 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -116,7 +116,6 @@ GLIBC_2.2 pthread_spin_trylock F GLIBC_2.2 pthread_spin_unlock F GLIBC_2.2 pthread_testcancel F GLIBC_2.2 pthread_yield F -GLIBC_2.2 raise F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index ad662c1e90..8df3bafa99 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -165,7 +165,6 @@ GLIBC_2.4 pthread_testcancel F GLIBC_2.4 pthread_timedjoin_np F GLIBC_2.4 pthread_tryjoin_np F GLIBC_2.4 pthread_yield F -GLIBC_2.4 raise F GLIBC_2.4 sem_close F GLIBC_2.4 sem_destroy F GLIBC_2.4 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index a9e64dff53..fe6d086be6 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 065f5ea671..c54635be17 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -138,7 +138,6 @@ GLIBC_2.18 pthread_testcancel F GLIBC_2.18 pthread_timedjoin_np F GLIBC_2.18 pthread_tryjoin_np F GLIBC_2.18 pthread_yield F -GLIBC_2.18 raise F GLIBC_2.18 sem_close F GLIBC_2.18 sem_destroy F GLIBC_2.18 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 065f5ea671..c54635be17 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -138,7 +138,6 @@ GLIBC_2.18 pthread_testcancel F GLIBC_2.18 pthread_timedjoin_np F GLIBC_2.18 pthread_tryjoin_np F GLIBC_2.18 pthread_yield F -GLIBC_2.18 raise F GLIBC_2.18 sem_close F GLIBC_2.18 sem_destroy F GLIBC_2.18 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index ed6314cf6e..45611b7e19 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index ed6314cf6e..45611b7e19 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 10d9bde874..9a041c574b 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -138,7 +138,6 @@ GLIBC_2.21 pthread_testcancel F GLIBC_2.21 pthread_timedjoin_np F GLIBC_2.21 pthread_tryjoin_np F GLIBC_2.21 pthread_yield F -GLIBC_2.21 raise F GLIBC_2.21 sem_close F GLIBC_2.21 sem_destroy F GLIBC_2.21 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 9bf00bbaae..2db967a661 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 387e37731c..92522e3050 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -136,7 +136,6 @@ GLIBC_2.3 pthread_spin_trylock F GLIBC_2.3 pthread_spin_unlock F GLIBC_2.3 pthread_testcancel F GLIBC_2.3 pthread_yield F -GLIBC_2.3 raise F GLIBC_2.3 sem_close F GLIBC_2.3 sem_destroy F GLIBC_2.3 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 57d20b9916..8f29a20e1e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -136,7 +136,6 @@ GLIBC_2.17 pthread_testcancel F GLIBC_2.17 pthread_timedjoin_np F GLIBC_2.17 pthread_tryjoin_np F GLIBC_2.17 pthread_yield F -GLIBC_2.17 raise F GLIBC_2.17 sem_close F GLIBC_2.17 sem_destroy F GLIBC_2.17 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/pt-raise.c b/sysdeps/unix/sysv/linux/pt-raise.c deleted file mode 100644 index f76f3416d6..0000000000 --- a/sysdeps/unix/sysv/linux/pt-raise.c +++ /dev/null @@ -1,20 +0,0 @@ -/* ISO C raise function for libpthread. - Copyright (C) 2002-2021 Free Software Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Ulrich Drepper , 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 - . */ - -#include diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 32390ebeaa..fd205edde3 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -155,7 +155,6 @@ GLIBC_2.33 pthread_testcancel F GLIBC_2.33 pthread_timedjoin_np F GLIBC_2.33 pthread_tryjoin_np F GLIBC_2.33 pthread_yield F -GLIBC_2.33 raise F GLIBC_2.33 sem_clockwait F GLIBC_2.33 sem_close F GLIBC_2.33 sem_destroy F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index a94c7bdb9a..847136b274 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -137,7 +137,6 @@ GLIBC_2.27 pthread_testcancel F GLIBC_2.27 pthread_timedjoin_np F GLIBC_2.27 pthread_tryjoin_np F GLIBC_2.27 pthread_yield F -GLIBC_2.27 raise F GLIBC_2.27 sem_close F GLIBC_2.27 sem_destroy F GLIBC_2.27 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index f72d0e81b2..c2e140d4a8 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index 5b5d2e394d..7091c72066 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -118,7 +118,6 @@ GLIBC_2.2 pthread_spin_trylock F GLIBC_2.2 pthread_spin_unlock F GLIBC_2.2 pthread_testcancel F GLIBC_2.2 pthread_yield F -GLIBC_2.2 raise F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index dcd57e5407..26a4a18a91 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -116,7 +116,6 @@ GLIBC_2.2 pthread_spin_trylock F GLIBC_2.2 pthread_spin_unlock F GLIBC_2.2 pthread_testcancel F GLIBC_2.2 pthread_yield F -GLIBC_2.2 raise F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index dcd57e5407..26a4a18a91 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -116,7 +116,6 @@ GLIBC_2.2 pthread_spin_trylock F GLIBC_2.2 pthread_spin_unlock F GLIBC_2.2 pthread_testcancel F GLIBC_2.2 pthread_yield F -GLIBC_2.2 raise F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index 251adefc29..4d6547c75e 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -52,7 +52,6 @@ GLIBC_2.0 pthread_setcancelstate F GLIBC_2.0 pthread_setcanceltype F GLIBC_2.0 pthread_setspecific F GLIBC_2.0 pthread_testcancel F -GLIBC_2.0 raise F GLIBC_2.0 sem_destroy F GLIBC_2.0 sem_getvalue F GLIBC_2.0 sem_init F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index f9792290f4..43fd3ea39a 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -116,7 +116,6 @@ GLIBC_2.2 pthread_spin_trylock F GLIBC_2.2 pthread_spin_unlock F GLIBC_2.2 pthread_testcancel F GLIBC_2.2 pthread_yield F -GLIBC_2.2 raise F GLIBC_2.2 sem_close F GLIBC_2.2 sem_destroy F GLIBC_2.2 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index ae063e5992..13112ed13e 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -116,7 +116,6 @@ GLIBC_2.2.5 pthread_spin_trylock F GLIBC_2.2.5 pthread_spin_unlock F GLIBC_2.2.5 pthread_testcancel F GLIBC_2.2.5 pthread_yield F -GLIBC_2.2.5 raise F GLIBC_2.2.5 sem_close F GLIBC_2.2.5 sem_destroy F GLIBC_2.2.5 sem_getvalue F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index bbefb35328..68a5f3d8ef 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -136,7 +136,6 @@ GLIBC_2.16 pthread_testcancel F GLIBC_2.16 pthread_timedjoin_np F GLIBC_2.16 pthread_tryjoin_np F GLIBC_2.16 pthread_yield F -GLIBC_2.16 raise F GLIBC_2.16 sem_close F GLIBC_2.16 sem_destroy F GLIBC_2.16 sem_getvalue F