summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/ldso/or1k
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/ldso/or1k')
-rw-r--r--libc-top-half/musl/src/ldso/or1k/dlsym.s6
-rw-r--r--libc-top-half/musl/src/ldso/or1k/dlsym_time64.S3
2 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/ldso/or1k/dlsym.s b/libc-top-half/musl/src/ldso/or1k/dlsym.s
new file mode 100644
index 0000000..122475c
--- /dev/null
+++ b/libc-top-half/musl/src/ldso/or1k/dlsym.s
@@ -0,0 +1,6 @@
+.global dlsym
+.hidden __dlsym
+.type dlsym,@function
+dlsym:
+ l.j __dlsym
+ l.ori r5, r9, 0
diff --git a/libc-top-half/musl/src/ldso/or1k/dlsym_time64.S b/libc-top-half/musl/src/ldso/or1k/dlsym_time64.S
new file mode 100644
index 0000000..bb2e704
--- /dev/null
+++ b/libc-top-half/musl/src/ldso/or1k/dlsym_time64.S
@@ -0,0 +1,3 @@
+#define __dlsym __dlsym_redir_time64
+#define dlsym __dlsym_time64
+#include "dlsym.s"