artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3238c4
)
Print the name of the symbol that can't be resolved when using
author
jcs
<jcs@openbsd.org>
Thu, 7 Oct 2021 14:47:32 +0000
(14:47 +0000)
committer
jcs
<jcs@openbsd.org>
Thu, 7 Oct 2021 14:47:32 +0000
(14:47 +0000)
LD_DEBUG
ok mpi, kn
libexec/ld.so/dlfcn.c
patch
|
blob
|
history
diff --git
a/libexec/ld.so/dlfcn.c
b/libexec/ld.so/dlfcn.c
index
384b5ea
..
d0aea80
100644
(file)
--- a/
libexec/ld.so/dlfcn.c
+++ b/
libexec/ld.so/dlfcn.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dlfcn.c,v 1.10
7 2021/06/02 07:29:03 semarie
Exp $ */
+/* $OpenBSD: dlfcn.c,v 1.10
8 2021/10/07 14:47:32 jcs
Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@
-190,6
+190,7
@@
dlsym(void *handle, const char *name)
sr = _dl_find_symbol(name, flags|SYM_NOWARNNOTFOUND, NULL, object);
if (sr.sym == NULL) {
+ DL_DEB(("dlsym: failed to find symbol %s\n", name));
_dl_errno = DL_NO_SYMBOL;
return NULL;
}