void longjmp(jmp_buf env, int val);
This function performs a non-local jump to the place immediately after setjmp using env saved by setjmp. val as a return value for setjmp.
[Definition of jmp_buf type in setjmp.h]
When this function is called, only data in the registers reserved by the compiler are saved and restored.
If setjmp is called from within a function in the 22-register mode or common-register mode, data in r20 to r24 are destroyed from within a function in the 32-register mode, and longjmp is then called, the values of r20 to r24 will not be recoverable. In such cases, the values of r20 to r24 must be restored before longjmp is called if they are required.
When -Xep=fix is specified, ep/fix/libsetjmp.lib must be used.