diff mbox series

[hurd,commited,hurd] Call _dl_sort_maps_init in _dl_sysdep_start

Message ID 20220115132246.235109-1-samuel.thibault@ens-lyon.org
State Committed, archived
Headers show
Series [hurd,commited,hurd] Call _dl_sort_maps_init in _dl_sysdep_start | expand

Checks

Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent
dj/TryBot-32bit fail Patch series failed to apply

Commit Message

Samuel Thibault Jan. 15, 2022, 1:22 p.m. UTC
This follows 15a0c5730d1d ("elf: Fix slow DSO sorting behavior in
dynamic loader (BZ #17645)").
---
 sysdeps/mach/hurd/dl-sysdep.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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