diff options
Diffstat (limited to 'libc-top-half/musl/src/signal/s390x/sigsetjmp.s')
-rw-r--r-- | libc-top-half/musl/src/signal/s390x/sigsetjmp.s | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/signal/s390x/sigsetjmp.s b/libc-top-half/musl/src/signal/s390x/sigsetjmp.s new file mode 100644 index 0000000..41b1bd9 --- /dev/null +++ b/libc-top-half/musl/src/signal/s390x/sigsetjmp.s @@ -0,0 +1,23 @@ + .global sigsetjmp + .global __sigsetjmp + .type sigsetjmp,%function + .type __sigsetjmp,%function + .hidden ___setjmp +sigsetjmp: +__sigsetjmp: + ltgr %r3, %r3 + jz ___setjmp + + stg %r14, 18*8(%r2) + stg %r6, 20*8(%r2) + lgr %r6, %r2 + + brasl %r14, ___setjmp + + lgr %r3, %r2 + lgr %r2, %r6 + lg %r14, 18*8(%r2) + lg %r6, 20*8(%r2) + +.hidden __sigsetjmp_tail + jg __sigsetjmp_tail |