projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setjmp: optimize longjmp prologues
[musl]
/
src
/
ldso
/
__dlsym.c
diff --git
a/src/ldso/__dlsym.c
b/src/ldso/__dlsym.c
index
99aafdf
..
0384f97
100644
(file)
--- a/
src/ldso/__dlsym.c
+++ b/
src/ldso/__dlsym.c
@@
-1,8
+1,5
@@
#include <dlfcn.h>
#include <dlfcn.h>
-#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)
{
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);
}
weak_alias(stub_dlsym, __dlsym);
+
+#if _REDIR_TIME64
+weak_alias(stub_dlsym, __dlsym_redir_time64);
+#endif