summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 00:38:24 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 00:38:24 +0000
commita219c7ddc96c93e2abe2aeebc064253f94d58000 (patch)
tree87735360e254d87d8cd3d7a237c7b25558bbb8c9 /libpthread/linuxthreads/sysdeps
parentb024ba802ed9a8c857879cdde0d6107d770dff14 (diff)
try to get libpthread built w/ -DSHARED, what to do w/ _dl_load_lock?
Diffstat (limited to 'libpthread/linuxthreads/sysdeps')
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
index f81c22945..50facde27 100644
--- a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
+++ b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
@@ -29,6 +29,12 @@
#define __libc_current_sigrtmin_private __libc_current_sigrtmin
#define __clone clone
+/* taken from ldsodefs.h, modified */
+#define GL(name) _##name
+void (*_dl_rtld_lock_recursive) (void *);
+void (*_dl_rtld_unlock_recursive) (void *);
+void **(*_dl_error_catch_tsd) (void) __attribute__ ((const));
+
extern void *__libc_stack_end;
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);