summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/ldso/sh/dlsym.s
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/ldso/sh/dlsym.s')
-rw-r--r--libc-top-half/musl/src/ldso/sh/dlsym.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/ldso/sh/dlsym.s b/libc-top-half/musl/src/ldso/sh/dlsym.s
new file mode 100644
index 0000000..11a6fff
--- /dev/null
+++ b/libc-top-half/musl/src/ldso/sh/dlsym.s
@@ -0,0 +1,11 @@
+.text
+.global dlsym
+.hidden __dlsym
+.type dlsym, @function
+dlsym:
+ mov.l L1, r0
+1: braf r0
+ mov.l @r15, r6
+
+.align 2
+L1: .long __dlsym@PLT-(1b+4-.)