aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl/0007-add-s390x-dlsym.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/musl/0007-add-s390x-dlsym.patch')
-rw-r--r--main/musl/0007-add-s390x-dlsym.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/musl/0007-add-s390x-dlsym.patch b/main/musl/0007-add-s390x-dlsym.patch
new file mode 100644
index 0000000000..ed88df7fd0
--- /dev/null
+++ b/main/musl/0007-add-s390x-dlsym.patch
@@ -0,0 +1,26 @@
+From 9201c3afce0ff53a9b1c5da5285ff84c11dee9d4 Mon Sep 17 00:00:00 2001
+From: Bobby Bingham <koorogi@koorogi.info>
+Date: Sun, 5 Feb 2017 21:29:52 -0600
+Subject: s390x: implement dlsym
+
+This was missed when writing the port initially.
+---
+ src/ldso/s390x/dlsym.s | 6 ++++++
+ 1 file changed, 6 insertions(+)
+ create mode 100644 src/ldso/s390x/dlsym.s
+
+diff --git a/src/ldso/s390x/dlsym.s b/src/ldso/s390x/dlsym.s
+new file mode 100644
+index 0000000..2e9fa8f
+--- /dev/null
++++ b/src/ldso/s390x/dlsym.s
+@@ -0,0 +1,6 @@
++ .global dlsym
++ .hidden __dlsym
++ .type dlsym,@function
++dlsym:
++ lgr %r4, %r14
++ jg __dlsym
+--
+cgit v0.11.2
+