diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-11-16 19:55:35 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-11-16 20:16:05 +0100 |
commit | 849274d48fc59bfa6db3c713c8ced8026b20f3b7 (patch) | |
tree | 2f92737d63b3b236acd167df35a6d2556bea4c07 /mach | |
parent | a8dcffb30680d6db5704f9ce2fc30621ceb454e7 (diff) | |
download | glibc-849274d48fc59bfa6db3c713c8ced8026b20f3b7.zip glibc-849274d48fc59bfa6db3c713c8ced8026b20f3b7.tar.gz glibc-849274d48fc59bfa6db3c713c8ced8026b20f3b7.tar.bz2 |
elf: Fix force_first handling in dlclose (bug 30981)
The force_first parameter was ineffective because the dlclose'd
object was not necessarily the first in the maps array. Also
enable force_first handling unconditionally, regardless of namespace.
The initial object in a namespace should be destructed first, too.
The _dl_sort_maps_dfs function had early returns for relocation
dependency processing which broke force_first handling, too, and
this is fixed in this change as well.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'mach')
0 files changed, 0 insertions, 0 deletions