public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] [hurd] Call _dl_sort_maps_init in _dl_sysdep_start
@ 2022-01-15 13:22 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2022-01-15 13:22 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f05faf5f22ecc20d3ba9791d7c60beb2d20aff52
commit f05faf5f22ecc20d3ba9791d7c60beb2d20aff52
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sat Jan 15 14:21:53 2022 +0100
[hurd] Call _dl_sort_maps_init in _dl_sysdep_start
This follows 15a0c5730d1d ("elf: Fix slow DSO sorting behavior in
dynamic loader (BZ #17645)").
Diff:
---
sysdeps/mach/hurd/dl-sysdep.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 10a026f810..51c7bc3e88 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -98,6 +98,9 @@ _dl_sysdep_start (void **start_argptr,
__tunables_init (_environ);
+ /* Initialize DSO sorting algorithm after tunables. */
+ _dl_sort_maps_init ();
+
#ifdef DL_SYSDEP_INIT
DL_SYSDEP_INIT;
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-15 13:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-15 13:22 [glibc] [hurd] Call _dl_sort_maps_init in _dl_sysdep_start Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).