linker: remove unnecessary reset of constructors_called flag

linker doesn't call d-tors for RTLD_NODELETE libraries. There is
no need in reseting this flag in call_destructors (which is called
from soinfo_unload).

Change-Id: I3ed03fa7207b7acf598067276fbb8874e29b5e53
This commit is contained in:
Dimitry Ivanov 2016-04-13 14:47:36 -07:00
parent 3ae69aab0e
commit 3647314d89

View file

@ -3023,10 +3023,6 @@ void soinfo::call_destructors() {
// DT_FINI should be called after DT_FINI_ARRAY if both are present.
call_function("DT_FINI", fini_func_);
// This is needed on second call to dlopen
// after library has been unloaded with RTLD_NODELETE
constructors_called = false;
}
void soinfo::add_child(soinfo* child) {