From 4abab5ad6c8465a7528ccdd5f49367da05f78bbd Mon Sep 17 00:00:00 2001 From: Vladimir Azarov Date: Tue, 1 Oct 2024 15:47:05 +0200 Subject: Initial version --- src/ldso/sh/dlsym.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/ldso/sh/dlsym.s (limited to 'src/ldso/sh/dlsym.s') diff --git a/src/ldso/sh/dlsym.s b/src/ldso/sh/dlsym.s new file mode 100644 index 0000000..34f3c35 --- /dev/null +++ b/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 + sts pr, r6 + +.align 2 +L1: .long __dlsym@PLT-(1b+4-.) -- cgit v1.2.3