sigsetjmp.s 564 字节
Newer Older
B
Bobby Bingham 已提交
1
.global sigsetjmp
2 3 4
.global __sigsetjmp
.type sigsetjmp,@function
.type __sigsetjmp,@function
B
Bobby Bingham 已提交
5
sigsetjmp:
6
__sigsetjmp:
B
Bobby Bingham 已提交
7
	tst r5, r5
8
	bt 9f
B
Bobby Bingham 已提交
9 10

	mov r4, r6
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
	add #52, r6
	sts pr, r0
	mov.l r0, @r6
	mov.l r8, @(4+8,r6)

	mov.l 1f, r0
2:	bsrf r0
	 mov r4, r8

	mov r0, r5
	mov r8, r4
	mov r4, r6
	add #52, r6

	mov.l @r6, r0
	lds r0, pr

	mov.l 3f, r0
4:	braf r0
	 mov.l @(4+8,r4), r8
B
Bobby Bingham 已提交
31

32 33
9:	mov.l 5f, r0
6:	braf r0
B
Bobby Bingham 已提交
34 35 36
	 nop

.align 2
37 38
.hidden ___setjmp
1:	.long ___setjmp@PLT-(2b+4-.)
39 40
.hidden __sigsetjmp_tail
3:	.long __sigsetjmp_tail@PLT-(4b+4-.)
41
5:	.long ___setjmp@PLT-(6b+4-.)