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





                           

                     


                             
 








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

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

	bl setjmp

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

.hidden __sigsetjmp_tail
	b __sigsetjmp_tail