summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:23:19 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:23:19 +0000
commit4abd77605a1d67f68fd0517a1a5a9fc06768402b (patch)
tree7991a2604742a7746e02a283e2c70138c521f2f4 /libpthread/nptl/sysdeps
parent65d841527858e99bafaabd4066c5856f7a750d2a (diff)
downloaduClibc-alpine-4abd77605a1d67f68fd0517a1a5a9fc06768402b.tar.bz2
uClibc-alpine-4abd77605a1d67f68fd0517a1a5a9fc06768402b.tar.xz
Remove debug code, sheesh.
Diffstat (limited to 'libpthread/nptl/sysdeps')
-rw-r--r--libpthread/nptl/sysdeps/generic/libc-tls.c2
-rw-r--r--libpthread/nptl/sysdeps/mips/libc-tls.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/libpthread/nptl/sysdeps/generic/libc-tls.c b/libpthread/nptl/sysdeps/generic/libc-tls.c
index 8946c93aa..8b662a433 100644
--- a/libpthread/nptl/sysdeps/generic/libc-tls.c
+++ b/libpthread/nptl/sysdeps/generic/libc-tls.c
@@ -27,8 +27,6 @@
#include <link.h>
#include <string.h>
-//#define __sbrk sbrk
-
#ifdef SHARED
#error makefile bug, this file is for static only
diff --git a/libpthread/nptl/sysdeps/mips/libc-tls.c b/libpthread/nptl/sysdeps/mips/libc-tls.c
index fbaa40f39..fdedc9f5a 100644
--- a/libpthread/nptl/sysdeps/mips/libc-tls.c
+++ b/libpthread/nptl/sysdeps/mips/libc-tls.c
@@ -20,8 +20,6 @@
#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
@@ -32,7 +30,6 @@ extern int sjh;
void *
__tls_get_addr (tls_index *ti)
{
- sjh = 4;
dtv_t *dtv = THREAD_DTV ();
return (char *) dtv[1].pointer.val + GET_ADDR_OFFSET;
}