diff options
Diffstat (limited to 'libc/sysdeps/linux/h8300/setjmp.S')
-rw-r--r-- | libc/sysdeps/linux/h8300/setjmp.S | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/h8300/setjmp.S b/libc/sysdeps/linux/h8300/setjmp.S index 97b91e204..53ecf3dbe 100644 --- a/libc/sysdeps/linux/h8300/setjmp.S +++ b/libc/sysdeps/linux/h8300/setjmp.S @@ -1,10 +1,16 @@ -.h8300h -.text +#ifdef __H8300S__ + .h8300s +#else + .h8300h +#endif + .text .global __setjmp -.global _longjmp +.global ___sigsetjmp +.global ___longjmp __setjmp: +___sigsetjmp: add.l #20,er0 mov.l er6,@er0 mov.l er5,@-er0 @@ -18,7 +24,7 @@ __setjmp: sub.l er0,er0 rts -_longjmp: +___longjmp: mov.l er1,er1 bne 1f sub.l er1,er1 |