From 689f30d2cf483dd3b4d70e105c2f13496d5478f7 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Wed, 21 Sep 2005 04:17:32 +0000 Subject: Added TLS variables to 'struct elf_resolve' which will be needed for TLS support. Created 'dl-tls.c' specifically for ldso instead of trying to share with the one used by the C library. It was getting to be too much of a hassle and this way hopefully all of the TLS functions can be in one place making maintenance much easier. Added new TLS relocation handlers for MIPS. The code is correct, but the variables used to perform the relocations are not set properly as more changes are necessary to the core of ldso. --- libpthread/nptl/sysdeps/generic/dl-tls.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libpthread/nptl/sysdeps/generic/dl-tls.c') diff --git a/libpthread/nptl/sysdeps/generic/dl-tls.c b/libpthread/nptl/sysdeps/generic/dl-tls.c index 4c3a9db4b..1ba8d85fe 100644 --- a/libpthread/nptl/sysdeps/generic/dl-tls.c +++ b/libpthread/nptl/sysdeps/generic/dl-tls.c @@ -1,4 +1,4 @@ -/* tHREAD-local storage handling in the ELF dynamic linker. Generic version. +/* Thread-local storage handling in the ELF dynamic linker. Generic version. Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -25,7 +25,6 @@ #include #include -#ifndef IS_IN_rtld #include #include #include @@ -37,7 +36,6 @@ #define _dl_dprintf fprintf #define _dl_debug_file stderr #define _dl_exit exit -#endif /* Amount of excess space to allocate in the static TLS area to allow dynamic loading of modules defining IE-model TLS data. */ -- cgit v1.2.3