about summary refs log tree commit diff
path: root/src/ldso/dlsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso/dlsym.c')
-rw-r--r--src/ldso/dlsym.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ldso/dlsym.c b/src/ldso/dlsym.c
new file mode 100644
index 00000000..33693143
--- /dev/null
+++ b/src/ldso/dlsym.c
@@ -0,0 +1,8 @@
+#include <dlfcn.h>
+
+void *__dlsym(void *, const char *, void *);
+
+void *dlsym(void *p, const char *s)
+{
+	return __dlsym(p, s, 0);
+}