From c1020cf21e7c09cf313c98b69d5c5af8f3895502 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sun, 27 Nov 2016 12:18:10 -0600 Subject: [PATCH] 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. --- src/signal/s390x/sigsetjmp.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1