about summary refs log tree commit diff
path: root/sysdeps/nptl/unwind-forcedunwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nptl/unwind-forcedunwind.c')
-rw-r--r--sysdeps/nptl/unwind-forcedunwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/nptl/unwind-forcedunwind.c b/sysdeps/nptl/unwind-forcedunwind.c
index ca757c48ce..24a1c5b30d 100644
--- a/sysdeps/nptl/unwind-forcedunwind.c
+++ b/sysdeps/nptl/unwind-forcedunwind.c
@@ -49,7 +49,7 @@ pthread_cancel_init (void)
       return;
     }
 
-  handle = __libc_dlopen (LIBGCC_S_SO);
+  handle = __libc_dlopen_mode (LIBGCC_S_SO, RTLD_NOW | __RTLD_DLOPEN);
 
   if (handle == NULL
       || (resume = __libc_dlsym (handle, "_Unwind_Resume")) == NULL