summaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 5d64d5a99e..f3e55b6d9a 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1382,6 +1382,12 @@ ld.so does not support TLS, but program uses it!\n");
}
#endif
+ if (GLRO(dl_osversion) <= 0x20413)
+ {
+ extern void internal_function _dl_init_linuxthreads_paths (void);
+ _dl_init_linuxthreads_paths ();
+ }
+
/* If LD_USE_LOAD_BIAS env variable has not been seen, default
to not using bias for non-prelinked PIEs and libraries
and using it for executables or prelinked PIEs or libraries. */