summaryrefslogtreecommitdiff
path: root/src/ldso/x86_64/dlsym.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso/x86_64/dlsym.s')
-rw-r--r--src/ldso/x86_64/dlsym.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ldso/x86_64/dlsym.s b/src/ldso/x86_64/dlsym.s
new file mode 100644
index 0000000..d840b95
--- /dev/null
+++ b/src/ldso/x86_64/dlsym.s
@@ -0,0 +1,7 @@
+.text
+.global dlsym
+.hidden __dlsym
+.type dlsym,@function
+dlsym:
+ mov (%rsp),%rdx
+ jmp __dlsym