diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-21 04:17:32 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-21 04:17:32 +0000 |
commit | 689f30d2cf483dd3b4d70e105c2f13496d5478f7 (patch) | |
tree | 39736731f20b0398bb7388ef287cd69dfe66a392 /libpthread/nptl/sysdeps/generic | |
parent | 52097a030ab9bd28b5944c8707f6a580eac833ef (diff) | |
download | uClibc-alpine-689f30d2cf483dd3b4d70e105c2f13496d5478f7.tar.bz2 uClibc-alpine-689f30d2cf483dd3b4d70e105c2f13496d5478f7.tar.xz |
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.
Diffstat (limited to 'libpthread/nptl/sysdeps/generic')
-rw-r--r-- | libpthread/nptl/sysdeps/generic/dl-tls.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 <dl-tls.h> #include <ldsodefs.h> -#ifndef IS_IN_rtld #include <assert.h> #include <link.h> #include <string.h> @@ -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. */ |