about summary refs log tree commit diff
path: root/src/ldso/riscv64/dlsym.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso/riscv64/dlsym.s')
-rw-r--r--src/ldso/riscv64/dlsym.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ldso/riscv64/dlsym.s b/src/ldso/riscv64/dlsym.s
new file mode 100644
index 00000000..2bafd72d
--- /dev/null
+++ b/src/ldso/riscv64/dlsym.s
@@ -0,0 +1,6 @@
+.global dlsym
+.hidden __dlsym
+.type dlsym, %function
+dlsym:
+	mv a2, ra
+	tail __dlsym