diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-04-27 11:40:21 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-04-27 11:40:21 +0000 |
commit | 44c3fe3909b8a180743fa772cc3461d493ecbcb8 (patch) | |
tree | 4f458ccf64e6a0f932c68ccb0760434df76e39fa /elf/rtld.c | |
parent | 35278cc7d7fe81e01bb092e76b775c169e7e85f6 (diff) |
* elf/rtld.c (dl_main): Call _dl_init_linuxthreads_paths
if GLRO(dl_osversion) <= 0x20413.
* elf/dl-load.c (_dl_init_paths): Allocate one extra pointer in
rtld_search_dirs.dirs.
(_dl_init_linuxthreads_paths): New function.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 6 |
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. */ |