aboutsummaryrefslogtreecommitdiff
path: root/nptl/pt-crti.S
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-21 22:35:01 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-21 22:35:01 +0200
commit49e182c7376b0fa30c18d0b7003a8e84624494c0 (patch)
tree0072f8841d2e08f644a7f69659773425054df997 /nptl/pt-crti.S
parentf47f1d91af985a9028fb399da21eab460d887a15 (diff)
downloadglibc-49e182c7376b0fa30c18d0b7003a8e84624494c0.zip
glibc-49e182c7376b0fa30c18d0b7003a8e84624494c0.tar.gz
glibc-49e182c7376b0fa30c18d0b7003a8e84624494c0.tar.bz2
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/pt-crti.S')
-rw-r--r--nptl/pt-crti.S50
1 files changed, 0 insertions, 50 deletions
diff --git a/nptl/pt-crti.S b/nptl/pt-crti.S
deleted file mode 100644
index e618986..0000000
--- a/nptl/pt-crti.S
+++ /dev/null
@@ -1,50 +0,0 @@
-/* Special .init and .fini section support for libpthread.
- Copyright (C) 2012-2021 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.
-
- In addition to the permissions in the GNU Lesser General Public
- License, the Free Software Foundation gives you unlimited
- permission to link the compiled version of this file with other
- programs, and to distribute those programs without any restriction
- coming from the use of this file. (The GNU Lesser General Public
- License restrictions do apply in other respects; for example, they
- cover modification of the file, and distribution when not linked
- into another program.)
-
- Note that people who make modified versions of this file are not
- obligated to grant this special exception for their modified
- versions; it is their choice whether to do so. The GNU Lesser
- General Public License gives permission to release a modified
- version without this exception; this exception also makes it
- possible to release a modified version which carries forward this
- exception.
-
- 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 <elf-initfini.h>
-
-/* Arrange for __pthread_initialize_minimal_internal to be called at
- libpthread startup, instead of conditionally calling
- __gmon_start__. */
-
-#if ELF_INITFINI
-# define PREINIT_FUNCTION __pthread_initialize_minimal_internal
-# define PREINIT_FUNCTION_WEAK 0
-
-# include <crti.S>
-#else
- .section .init_array,"a",%init_array
- .dc.a __pthread_initialize_minimal_internal
-#endif