From: Bobby Bingham Date: Sun, 27 Nov 2016 18:18:10 +0000 (-0600) Subject: fix crashing sigsetjmp on s390x X-Git-Tag: v1.1.16~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c1020cf21e7c09cf313c98b69d5c5af8f3895502;p=oweals%2Fmusl.git 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. --- 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)