diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-21 22:35:01 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-21 22:35:01 +0200 |
commit | 49e182c7376b0fa30c18d0b7003a8e84624494c0 (patch) | |
tree | 0072f8841d2e08f644a7f69659773425054df997 /nptl/version.c | |
parent | f47f1d91af985a9028fb399da21eab460d887a15 (diff) | |
download | glibc-49e182c7376b0fa30c18d0b7003a8e84624494c0.tar.gz glibc-49e182c7376b0fa30c18d0b7003a8e84624494c0.tar.xz glibc-49e182c7376b0fa30c18d0b7003a8e84624494c0.zip |
nptl: Remove remaining code from libpthread
Only the placeholder compatibility symbols are left now. The __errno_location symbol was removed (moved) using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/version.c')
-rw-r--r-- | nptl/version.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/nptl/version.c b/nptl/version.c deleted file mode 100644 index 25e3a0c872..0000000000 --- a/nptl/version.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Entry point for libpthread DSO. - 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 <unistd.h> -#include <sysdep.h> - - -static const char banner[] = -"Native POSIX Threads Library\n\ -Copyright (C) 2021 Free Software Foundation, Inc.\n\ -This is free software; see the source for copying conditions.\n\ -There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n\ -PARTICULAR PURPOSE.\n" -"Forced unwind support included.\n" -; - - -/* This is made the e_entry of libpthread.so by LDFLAGS-pthread.so. */ -__attribute__ ((noreturn)) -void -__nptl_main (void) -{ - write (STDOUT_FILENO, banner, sizeof banner - 1); - _exit (0); -} |