summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/generic/libc-tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/generic/libc-tls.c')
-rw-r--r--libpthread/nptl/sysdeps/generic/libc-tls.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libpthread/nptl/sysdeps/generic/libc-tls.c b/libpthread/nptl/sysdeps/generic/libc-tls.c
index 5a71e3a60..8946c93aa 100644
--- a/libpthread/nptl/sysdeps/generic/libc-tls.c
+++ b/libpthread/nptl/sysdeps/generic/libc-tls.c
@@ -23,13 +23,11 @@
#include <unistd.h>
#include <stdio.h>
#include <sys/param.h>
-#ifdef __UCLIBC__
#include <elf.h>
#include <link.h>
#include <string.h>
-#define __sbrk sbrk
-#endif
+//#define __sbrk sbrk
#ifdef SHARED
@@ -209,9 +207,6 @@ __libc_setup_tls (size_t tcbsize, size_t tcbalign)
static_map.l_tls_blocksize = memsz;
static_map.l_tls_initimage = initimage;
static_map.l_tls_initimage_size = filesz;
-#ifndef __UCLIBC__
- static_map.l_type = lt_executable;
-#endif
static_map.l_tls_modid = 1;
init_slotinfo ();