2 * Copyright (C) 2000-2005 by Erik Andersen <andersen@codepoet.org>
4 * GNU Lesser General Public License version 2.1 or later.
7 /* User functions for run-time dynamic loading. libdl version */
12 #include <bits/dlfcn.h>
14 #define RTLD_NEXT ((void *) -1l)
15 #define RTLD_DEFAULT ((void *) 0)
17 /* Structure containing information about object searched using
21 const char *dli_fname
; /* File name of defining object. */
22 void *dli_fbase
; /* Load address of that object. */
23 const char *dli_sname
; /* Name of nearest symbol. */
24 void *dli_saddr
; /* Exact value of nearest symbol. */