summaryrefslogtreecommitdiff
path: root/src/signal/s390x
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-11-27 12:18:10 -0600
committerRich Felker <dalias@aerifal.cx>2016-12-16 22:39:19 -0500
commitc1020cf21e7c09cf313c98b69d5c5af8f3895502 (patch)
treea7a81e81b2e56a3263bba8509703fb75f0f42a3b /src/signal/s390x
parent3f79eaa870a87c7f7d19c0e340791fac80a16d06 (diff)
downloadmusl-c1020cf21e7c09cf313c98b69d5c5af8f3895502.tar.gz
musl-c1020cf21e7c09cf313c98b69d5c5af8f3895502.tar.bz2
musl-c1020cf21e7c09cf313c98b69d5c5af8f3895502.tar.xz
musl-c1020cf21e7c09cf313c98b69d5c5af8f3895502.zip
fix crashing sigsetjmp on s390x
the bz instruction that was wrongly used only admits a small immediate displacement and cannot be used with external symbols; apparently the linker fails to diagnose the overflow.
Diffstat (limited to 'src/signal/s390x')
-rw-r--r--src/signal/s390x/sigsetjmp.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/s390x/sigsetjmp.s b/src/signal/s390x/sigsetjmp.s
index 72dfc25d..41b1bd9a 100644
--- a/src/signal/s390x/sigsetjmp.s
+++ b/src/signal/s390x/sigsetjmp.s
@@ -6,7 +6,7 @@
sigsetjmp:
__sigsetjmp:
ltgr %r3, %r3
- bz ___setjmp
+ jz ___setjmp
stg %r14, 18*8(%r2)
stg %r6, 20*8(%r2)