about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/pt-raise.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-12-03 16:45:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-26 13:37:18 -0300
commitff1e342cd1c20d7e21ab77e67414f67feb9ac197 (patch)
tree059076ff82d667e70579664c5604cc362956830b /sysdeps/unix/sysv/linux/pt-raise.c
parentb76658451c819c87adb2e7055b19e7600acc2ae6 (diff)
downloadglibc-ff1e342cd1c20d7e21ab77e67414f67feb9ac197.tar.gz
glibc-ff1e342cd1c20d7e21ab77e67414f67feb9ac197.tar.xz
glibc-ff1e342cd1c20d7e21ab77e67414f67feb9ac197.zip
nptl: Remove pthread raise implementation
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/pt-raise.c')
-rw-r--r--sysdeps/unix/sysv/linux/pt-raise.c20
1 files changed, 0 insertions, 20 deletions
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 <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 <sysdeps/unix/sysv/linux/raise.c>