diff options
-rw-r--r-- | src/signal/arm/sigsetjmp.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/signal/arm/sigsetjmp.s b/src/signal/arm/sigsetjmp.s new file mode 100644 index 00000000..acb0301e --- /dev/null +++ b/src/signal/arm/sigsetjmp.s @@ -0,0 +1,13 @@ +.global sigsetjmp +.type sigsetjmp,%function +sigsetjmp: + str a2,[a1,#256] + tst a2,a2 + beq setjmp + push {a1,lr} + add a3,a1,#260 + mov a2,#0 + mov a1,#2 + bl sigprocmask + pop {a1,lr} + b setjmp |