diff options
Diffstat (limited to 'src/ldso/dladdr.c')
-rw-r--r-- | src/ldso/dladdr.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ldso/dladdr.c b/src/ldso/dladdr.c new file mode 100644 index 00000000..265bb681 --- /dev/null +++ b/src/ldso/dladdr.c @@ -0,0 +1,9 @@ +#define _GNU_SOURCE +#include <dlfcn.h> + +int __dladdr(void *, Dl_info *); + +int dladdr(void *addr, Dl_info *info) +{ + return __dladdr(addr, info); +} |