diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-05 05:21:27 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-05 05:21:27 +0000 |
| commit | 65d841527858e99bafaabd4066c5856f7a750d2a (patch) | |
| tree | f475be58b893aafa97a83d93145b0d21f3be516a /libpthread/nptl/sysdeps/mips | |
| parent | 8ea954df693750b653c61df10205df206b6240c1 (diff) | |
| download | uClibc-alpine-65d841527858e99bafaabd4066c5856f7a750d2a.tar.bz2 uClibc-alpine-65d841527858e99bafaabd4066c5856f7a750d2a.tar.xz | |
Clean up NPTL thread C library support files and simplify build process.
Diffstat (limited to 'libpthread/nptl/sysdeps/mips')
| -rw-r--r-- | libpthread/nptl/sysdeps/mips/dl-support.c | 1 | ||||
| -rw-r--r-- | libpthread/nptl/sysdeps/mips/dl-tls.c | 1 | ||||
| -rw-r--r-- | libpthread/nptl/sysdeps/mips/libc-tls.c | 3 |
3 files changed, 3 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/mips/dl-support.c b/libpthread/nptl/sysdeps/mips/dl-support.c deleted file mode 100644 index 7ed833fc6..000000000 --- a/libpthread/nptl/sysdeps/mips/dl-support.c +++ /dev/null @@ -1 +0,0 @@ -#include <../generic/dl-support.c> diff --git a/libpthread/nptl/sysdeps/mips/dl-tls.c b/libpthread/nptl/sysdeps/mips/dl-tls.c deleted file mode 100644 index db50de8ab..000000000 --- a/libpthread/nptl/sysdeps/mips/dl-tls.c +++ /dev/null @@ -1 +0,0 @@ -#include <../generic/dl-tls.c> diff --git a/libpthread/nptl/sysdeps/mips/libc-tls.c b/libpthread/nptl/sysdeps/mips/libc-tls.c index fdedc9f5a..fbaa40f39 100644 --- a/libpthread/nptl/sysdeps/mips/libc-tls.c +++ b/libpthread/nptl/sysdeps/mips/libc-tls.c @@ -20,6 +20,8 @@ #include <../generic/libc-tls.c> #include <dl-tls.h> +extern int sjh; + #if USE_TLS /* On MIPS, linker optimizations are not required, so __tls_get_addr @@ -30,6 +32,7 @@ void * __tls_get_addr (tls_index *ti) { + sjh = 4; dtv_t *dtv = THREAD_DTV (); return (char *) dtv[1].pointer.val + GET_ADDR_OFFSET; } |
