diff options
Diffstat (limited to 'src/ldso/dladdr.c')
-rw-r--r-- | src/ldso/dladdr.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ldso/dladdr.c b/src/ldso/dladdr.c index 7ca718f4..659ab91e 100644 --- a/src/ldso/dladdr.c +++ b/src/ldso/dladdr.c @@ -1,9 +1,10 @@ #define _GNU_SOURCE #include <dlfcn.h> +#include "libc.h" -int __dladdr(const void *, Dl_info *); - -int dladdr(const void *addr, Dl_info *info) +static int stub_dladdr(const void *addr, Dl_info *info) { - return __dladdr(addr, info); + return 0; } + +weak_alias(stub_dladdr, dladdr); |