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/generic/libc-tls.c | |
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/generic/libc-tls.c')
-rw-r--r-- | libpthread/nptl/sysdeps/generic/libc-tls.c | 7 |
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 (); |