aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl/0010-s390x-implement-dlsym.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-03-20 15:25:48 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-03-21 08:15:29 +0200
commit1a4d299a0242a02aa0d4843dd9947d4187e70414 (patch)
tree524965445ca8c9eba7f425db6ffb2035d8025500 /main/musl/0010-s390x-implement-dlsym.patch
parentc12931e8863fa9fddc90390db24a4a591f43043e (diff)
downloadaports-1a4d299a0242a02aa0d4843dd9947d4187e70414.tar.bz2
aports-1a4d299a0242a02aa0d4843dd9947d4187e70414.tar.xz
main/musl: cherry-pick upstream fixes
ldso changes (lazy emulation etc) are not stable yet, so it's are not included. the missing patch numbers are for those commits.
Diffstat (limited to 'main/musl/0010-s390x-implement-dlsym.patch')
-rw-r--r--main/musl/0010-s390x-implement-dlsym.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/musl/0010-s390x-implement-dlsym.patch b/main/musl/0010-s390x-implement-dlsym.patch
new file mode 100644
index 0000000000..3611d3efd9
--- /dev/null
+++ b/main/musl/0010-s390x-implement-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: [PATCH] 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 00000000..2e9fa8fb
+--- /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
+--
+2.11.1
+