]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/h8300/setjmp.S
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / h8300 / setjmp.S
1 #include <jmpbuf-offsets.h>
2
3 #ifdef __H8300S__
4         .h8300s
5 #else
6         .h8300h
7 #endif
8         .text
9
10 .global ___sigsetjmp
11
12 ___sigsetjmp:
13         add.l   #JB_SIZE,er0
14         mov.l   @sp,er1         ; return PC
15         mov.l   er1,@-er0
16         mov.l   sp,@-er0
17         mov.l   er6,@-er0
18         mov.l   er5,@-er0
19         mov.l   er4,@-er0
20         sub.l   er0,er0
21         rts