Arc<DSO>
as the handle for dl* functions. Then the slow double lookup is no longer required.RTLD_NOLOAD
as it is useful for testing (since glibc 2.2).load_objects_recursive
populates new_objects
in the correct order so we do not need to reverse it later. This was done twice previously (the order was corrected first in relocate
then in run_init
).LD_DEBUG=scopes
option.Signed-off-by: Anhad Singh andypython@protonmail.com