Browse Source

try to get libpthread built w/ -DSHARED, what to do w/ _dl_load_lock?

Peter S. Mazinger 18 years ago
parent
commit
a219c7ddc9
1 changed files with 6 additions and 0 deletions
  1. 6 0
      libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h

+ 6 - 0
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);