1 ; setjmp/longjmp for D10V. The jmpbuf looks like this:
3 ; Register jmpbuf offset
10 ; R13 (return address) 0x0c
15 .type setjmp,@function
16 .stabs "setjmp.S",100,0,0,setjmp
17 .stabs "int:t(0,1)=r(0,1);-65536;65535;",128,0,0,0
18 .stabs "setjmp:F(0,1)",36,0,1,setjmp
21 ; Address of jmpbuf is passed in R0. Save the appropriate registers.
32 .size setjmp,.Lsetjmp-setjmp
33 .stabs "",36,0,0,.Lsetjmp-setjmp
36 .type longjmp,@function
37 .stabs "longjmp:F(0,1)",36,0,1,longjmp
39 ; Address of jmpbuf is in R0. Restore the registers.
46 ; Value to return to caller is in R1. If caller attemped to return 0,
54 .size longjmp,.Llongjmp-longjmp
55 .stabs "",36,0,0,.Llongjmp-longjmp