Explorar o código

riscv32: add dlsym

Identical to riscv64.
Stefan O'Rear %!s(int64=4) %!d(string=hai) anos
pai
achega
11eee89e14
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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