about summary refs log tree commit diff
path: root/elf/tst-dlclose-lazy-mod2.c
Commit message (Collapse)AuthorAgeFilesLines
* elf: Make more functions available for binding during dlclose (bug 30425)Florian Weimer2023-05-301-0/+49
Previously, after destructors for a DSO have been invoked, ld.so refused to bind against that DSO in all cases. Relax this restriction somewhat if the referencing object is itself a DSO that is being unloaded. This assumes that the symbol reference is not going to be stored anywhere. The situation in the test case can arise fairly easily with C++ and objects that are built with different optimization levels and therefore define different functions with vague linkage. Reviewed-by: Carlos O'Donell <carlos@redhat.com>