summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2007-05-29 04:47:18 +0000
committerJason Wright <jason@cvs.openbsd.org>2007-05-29 04:47:18 +0000
commit1df4eb73f8d7f64831c30fee52d8bf3dac85b6b9 (patch)
treee66a776eee1f0e48cc63c464ad06bc0aa887684b /include
parentbd14efd9d6861a5decfa8d097146a56b794777d6 (diff)
based on a diff from Matt Provost: allow printing of ldd information
on libraries themselves. Works by setting up the debugging flags then calling dlopen() to do the heavy lifting. ok drahn
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 992db0387d7..3cf5fd78422 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn.h,v 1.10 2007/05/05 15:21:21 drahn Exp $ */
+/* $OpenBSD: dlfcn.h,v 1.11 2007/05/29 04:47:17 jason Exp $ */
/* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */
/*
@@ -64,6 +64,7 @@ __END_DECLS
#define RTLD_GLOBAL 0x100
#define RTLD_LOCAL 0x000
#define DL_LAZY RTLD_LAZY /* Compat */
+#define RTLD_TRACE 0x200
/*
* Special handle arguments for dlsym().