rtld: Add debug line for dlopen_object().

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2020-06-16 21:25:58 +00:00
parent de34401534
commit 53b1c32035
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362250

View File

@ -3438,6 +3438,9 @@ dlopen_object(const char *name, int fd, Obj_Entry *refobj, int lo_flags,
RtldLockState mlockstate;
int result;
dbg("dlopen_object name \"%s\" fd %d refobj \"%s\" lo_flags %#x mode %#x",
name != NULL ? name : "<null>", fd, refobj == NULL ? "<null>" :
refobj->path, lo_flags, mode);
objlist_init(&initlist);
if (lockstate == NULL && !(lo_flags & RTLD_LO_EARLY)) {