Browse Source

riscv32: add dlsym

Identical to riscv64.
Stefan O'Rear 4 years ago
parent
commit
11eee89e14
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/ldso/riscv32/dlsym.s

+ 6 - 0
src/ldso/riscv32/dlsym.s

@@ -0,0 +1,6 @@
+.global dlsym
+.hidden __dlsym
+.type dlsym, %function
+dlsym:
+	mv a2, ra
+	tail __dlsym