summaryrefslogblamecommitdiff
path: root/src/signal/aarch64/sigsetjmp.s
blob: 75910c432185f3b593c5fa8cc8f6f3a08a5e35fa (plain) (tree)
1
2
3
4
5
6
7
8
9





                           

                     
                         

                             
 



                  
                         



                             
.global sigsetjmp
.global __sigsetjmp
.type sigsetjmp,%function
.type __sigsetjmp,%function
sigsetjmp:
__sigsetjmp:
	cbz x1,setjmp

	str x30,[x0,#176]
	str x19,[x0,#176+8+8]
	mov x19,x0

	bl setjmp

	mov w1,w0
	mov x0,x19
	ldr x30,[x0,#176]
	ldr x19,[x0,#176+8+8]

.hidden __sigsetjmp_tail
	b __sigsetjmp_tail