diff options
Diffstat (limited to 'libc-top-half/musl/src/signal/microblaze')
-rw-r--r-- | libc-top-half/musl/src/signal/microblaze/restore.s | 13 | ||||
-rw-r--r-- | libc-top-half/musl/src/signal/microblaze/sigsetjmp.s | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/signal/microblaze/restore.s b/libc-top-half/musl/src/signal/microblaze/restore.s new file mode 100644 index 0000000..b3c9f57 --- /dev/null +++ b/libc-top-half/musl/src/signal/microblaze/restore.s @@ -0,0 +1,13 @@ +.global __restore +.hidden __restore +.type __restore,@function +__restore: + ori r12, r0, 119 + brki r14, 0x8 + +.global __restore_rt +.hidden __restore_rt +.type __restore_rt,@function +__restore_rt: + ori r12, r0, 173 + brki r14, 0x8 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 |