2 * Copyright (C) 2013 Imagination Technologies Ltd.
4 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
7 !!! setjmp and variants
10 !! int _setjmp (jmp_buf __env)
11 !! Store the calling environment in ENV, not saving the signal mask.
14 .type __setjmp,function
18 .size __setjmp,.-__setjmp
20 !! int setjmp (jmp_buf __env)
21 !! Store the calling environment in ENV, also saving the signal mask.
24 .type _setjmp,function
27 !! fall through to __sigsetjmp
28 .size _setjmp,.-_setjmp
30 !! int __sigsetjmp (jmp_buf __env, int __savemask)
31 !! Store the calling environment in ENV, also saving the
32 !! signal mask if SAVEMASK is nonzero. Return 0.
33 !! This is the internal name for `sigsetjmp'.
35 .type ___sigsetjmp,function
39 MSETL [D1Ar1++],A0.0,A0.1
42 !! Rewind D1Ar1 that was modified above
43 SUB D1Ar1,D1Ar1,#(2*8)
45 MSETL [A0.3++],D0FrT,D0.5,D0.6,D0.7
46 !! Tail call __sigjmp_save
52 .size ___sigsetjmp,.-___sigsetjmp