Skip to content
Commit d0f07f7d authored by Florian Weimer's avatar Florian Weimer
Browse files

elf: Make more functions available for binding during dlclose (bug 30425)



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: default avatarCarlos O'Donell <carlos@redhat.com>
parent 3eed5f3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment