about summary refs log tree commit diff
path: root/sysdeps/generic/tls.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-06-08 15:39:03 -0400
committerZack Weinberg <zackw@panix.com>2017-06-08 15:39:03 -0400
commit5046dbb4a7eba5eccfd258f92f4735c9ffc8d069 (patch)
tree4470480d904b65cf14ca524f96f79eca818c3eaf /sysdeps/generic/tls.h
parent199fc19d3aaaf57944ef036e15904febe877fc93 (diff)
downloadglibc-zack/build-layout-experiment.tar.gz
glibc-zack/build-layout-experiment.tar.xz
glibc-zack/build-layout-experiment.zip
Prepare for radical source tree reorganization. zack/build-layout-experiment
All top-level files and directories are moved into a temporary storage
directory, REORG.TODO, except for files that will certainly still
exist in their current form at top level when we're done (COPYING,
COPYING.LIB, LICENSES, NEWS, README), all old ChangeLog files (which
are moved to the new directory OldChangeLogs, instead), and the
generated file INSTALL (which is just deleted; in the new order, there
will be no generated files checked into version control).
Diffstat (limited to 'sysdeps/generic/tls.h')
-rw-r--r--sysdeps/generic/tls.h74
1 files changed, 0 insertions, 74 deletions
diff --git a/sysdeps/generic/tls.h b/sysdeps/generic/tls.h
deleted file mode 100644
index 90c5c792ff..0000000000
--- a/sysdeps/generic/tls.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/* Definition for thread-local data handling.  Generic version.
-   Copyright (C) 2002-2017 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/>.  */
-
-/* An architecture-specific version of this file has to defined a
-   number of symbols:
-
-     TLS_TCB_AT_TP  or  TLS_DTV_AT_TP
-
-     The presence of one of these symbols signals which variant of
-     the TLS ABI is used.  There are in the moment two variants
-     available:
-
-     * the thread pointer points to a thread control block
-
-     * the thread pointer points to the dynamic thread vector
-
-
-     TLS_TCB_SIZE
-
-     This is the size of the thread control block structure.  How
-     this is actually defined depends on the ABI.  The thread control
-     block could be internal descriptor of the thread library or
-     just a data structure which allows finding the DTV.
-
-     TLS_INIT_TCB_SIZE
-
-     Similarly, but this value is only used at startup and in the
-     dynamic linker itself.  There are no threads in use at that time.
-
-
-     TLS_TCB_ALIGN
-
-     Alignment requirements for the TCB structure.
-
-     TLS_INIT_TCB_ALIGN
-
-     Similarly, but for the structure used at startup time.
-
-
-     INSTALL_DTV(tcb, init_dtv)
-
-     This macro must install the given initial DTV into the thread control
-     block TCB.  The normal runtime functionality must then be able to
-     use the value.
-
-
-     TLS_INIT_TP(tcb)
-
-     This macro must initialize the thread pointer to enable normal TLS
-     operation.  The parameter is a pointer to the thread control block.
-     ld.so calls this macro once.
-
-
-     THREAD_DTV()
-
-     This macro returns the address of the DTV of the current thread.
-     This normally is done using the thread register which points
-     to the dtv or the TCB (from which the DTV can found).
-  */