Browse Source

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
OPENBSD_4_2
jason 17 years ago
parent
commit
3ed400fec3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/dlfcn.h

+ 2
- 1
src/include/dlfcn.h View File

@ -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 $ */ /* $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_GLOBAL 0x100
#define RTLD_LOCAL 0x000 #define RTLD_LOCAL 0x000
#define DL_LAZY RTLD_LAZY /* Compat */ #define DL_LAZY RTLD_LAZY /* Compat */
#define RTLD_TRACE 0x200
/* /*
* Special handle arguments for dlsym(). * Special handle arguments for dlsym().


Loading…
Cancel
Save