summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-09 05:55:16 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-09 05:55:16 +0000
commit3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd (patch)
tree2f6590386d1c091a8ee72cce290c0798f82f974c /libpthread/nptl/sysdeps/pthread
parent75f9a2b1874f3c50727c6b91fd5b5735a2a5deb3 (diff)
downloaduClibc-alpine-3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd.tar.bz2
uClibc-alpine-3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd.tar.xz
Compile cleanups for NPTL support.
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread')
-rw-r--r--libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c b/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c
index b0f848708..1c5bb1947 100644
--- a/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c
+++ b/libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c
@@ -22,6 +22,11 @@
#include <unwind.h>
#include <pthreadP.h>
+#ifdef __UCLIBC__
+#define __libc_dlopen(x) dlopen(x, (RTLD_LOCAL | RTLD_LAZY))
+#define __libc_dlsym dlsym
+#endif
+
static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
static _Unwind_Reason_Code (*libgcc_s_personality)
(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *,