diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c | 5 |
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 *, |