summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/init.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-22 07:27:02 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-22 07:27:02 +0000
commit4ace63889357f5ffc8b96a8a6144352e7ce56eec (patch)
tree21cae77af0719690b1255038635714a30e4f073d /libpthread/nptl/init.c
parentf5faeff83458b4dc618ca83edd2dd33dbe63c15d (diff)
downloaduClibc-alpine-4ace63889357f5ffc8b96a8a6144352e7ce56eec.tar.bz2
uClibc-alpine-4ace63889357f5ffc8b96a8a6144352e7ce56eec.tar.xz
Big set of various patches to get the NPTL libraries to build and link.
Diffstat (limited to 'libpthread/nptl/init.c')
-rw-r--r--libpthread/nptl/init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpthread/nptl/init.c b/libpthread/nptl/init.c
index 003dd7bbf..e48f8ae35 100644
--- a/libpthread/nptl/init.c
+++ b/libpthread/nptl/init.c
@@ -324,6 +324,12 @@ __pthread_initialize_minimal_internal (void)
__static_tls_size = roundup (__static_tls_size, static_tls_align);
+/*
+ * For now, we are not going to be concerend about locking inside
+ * the dynamic loader proper. Maybe later. We also disable stack
+ * execution.
+ */
+#ifndef __UCLIBC__
#ifdef SHARED
/* Transfer the old value from the dynamic linker's internal location. */
*__libc_dl_error_tsd () = *(*GL(dl_error_catch_tsd)) ();
@@ -340,6 +346,7 @@ __pthread_initialize_minimal_internal (void)
GL(dl_make_stack_executable_hook) = &__make_stacks_executable;
#endif
+#endif
GL(dl_init_static_tls) = &__pthread_init_static_tls;