diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2016-11-27 12:18:10 -0600 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-12-16 22:39:19 -0500 |
commit | c1020cf21e7c09cf313c98b69d5c5af8f3895502 (patch) | |
tree | a7a81e81b2e56a3263bba8509703fb75f0f42a3b /src/signal | |
parent | 3f79eaa870a87c7f7d19c0e340791fac80a16d06 (diff) | |
download | musl-c1020cf21e7c09cf313c98b69d5c5af8f3895502.zip musl-c1020cf21e7c09cf313c98b69d5c5af8f3895502.tar.gz musl-c1020cf21e7c09cf313c98b69d5c5af8f3895502.tar.bz2 |
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')
-rw-r--r-- | src/signal/s390x/sigsetjmp.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/s390x/sigsetjmp.s b/src/signal/s390x/sigsetjmp.s index 72dfc25..41b1bd9 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) |