X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fldso%2F__dlsym.c;h=0384f97e96099259b918c2f9d52c618e41f37135;hb=4554f155dd23a65fcdfd39f1d5af8af55ba37694;hp=99aafdf91b95c3d5a513b73f5fb66b764821366f;hpb=4058795d4938ea72a27fb3231ce52c69c7e39637;p=musl diff --git a/src/ldso/__dlsym.c b/src/ldso/__dlsym.c index 99aafdf9..0384f97e 100644 --- a/src/ldso/__dlsym.c +++ b/src/ldso/__dlsym.c @@ -1,8 +1,5 @@ #include -#include "libc.h" - -__attribute__((__visibility__("hidden"))) -void __dl_seterr(const char *, ...); +#include "dynlink.h" static void *stub_dlsym(void *restrict p, const char *restrict s, void *restrict ra) { @@ -11,3 +8,7 @@ static void *stub_dlsym(void *restrict p, const char *restrict s, void *restrict } weak_alias(stub_dlsym, __dlsym); + +#if _REDIR_TIME64 +weak_alias(stub_dlsym, __dlsym_redir_time64); +#endif