diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2020-06-16 21:25:58 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2020-06-16 21:25:58 +0000 |
commit | 53b1c3203595579bd2f6c6fb0eea9551c7d7c8f4 (patch) | |
tree | 4761e3227d69d1cf4cd9d76916de923f92c86681 /libexec/rtld-elf | |
parent | de34401534b2fb5288c761c59f724fc6df1fef72 (diff) | |
download | src-53b1c3203595579bd2f6c6fb0eea9551c7d7c8f4.tar.gz src-53b1c3203595579bd2f6c6fb0eea9551c7d7c8f4.zip |
rtld: Add debug line for dlopen_object().
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=362250
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r-- | libexec/rtld-elf/rtld.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index c19568bd849a..c6aa795bdb07 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -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)) { |