HomeFreeBSD

rtld: Allow to load ET_DYN && DF_1_PIE when tracing.

Description

rtld: Allow to load ET_DYN && DF_1_PIE when tracing.

This makes old ldd to still work on newer tagged PIE binaries.

Also move debug line for hashes before both decisions to not load are
done, so that the end of digest_dynamic() processing and reason to not
load or load is seen in debug trace.

Noted by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS362250: rtld: Add debug line for dlopen_object().
Branches
Unknown
Tags
Unknown