blob: 0384f97e96099259b918c2f9d52c618e41f37135 [file] [log] [blame]
#include <dlfcn.h>
#include "dynlink.h"
static void *stub_dlsym(void *restrict p, const char *restrict s, void *restrict ra)
{
__dl_seterr("Symbol not found: %s", s);
return 0;
}
weak_alias(stub_dlsym, __dlsym);
#if _REDIR_TIME64
weak_alias(stub_dlsym, __dlsym_redir_time64);
#endif