summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/signal/microblaze/sigsetjmp.s
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/signal/microblaze/sigsetjmp.s')
-rw-r--r--libc-top-half/musl/src/signal/microblaze/sigsetjmp.s22
1 files changed, 22 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/signal/microblaze/sigsetjmp.s b/libc-top-half/musl/src/signal/microblaze/sigsetjmp.s
new file mode 100644
index 0000000..d1dd24c
--- /dev/null
+++ b/libc-top-half/musl/src/signal/microblaze/sigsetjmp.s
@@ -0,0 +1,22 @@
+.global sigsetjmp
+.global __sigsetjmp
+.type sigsetjmp,@function
+.type __sigsetjmp,@function
+sigsetjmp:
+__sigsetjmp:
+.hidden ___setjmp
+ beqi r6, ___setjmp
+
+ swi r15,r5,72
+ swi r19,r5,72+4+8
+
+ brlid r15,___setjmp
+ ori r19,r5,0
+
+ ori r6,r3,0
+ ori r5,r19,0
+ lwi r15,r5,72
+ lwi r19,r5,72+4+8
+
+.hidden __sigsetjmp_tail
+ bri __sigsetjmp_tail