martin c06bee84e7 Save the GP register value and restore it on longjmp.
While formally GP is not a callee-saved register, for static linking
the link time optimization described in section 3.2.3 of the "Calling
Standard for Alpha Systems" allows the caller to rely on GP being the
value needed within setjmp() - and not restore it after return if setjmp
and the call site share a GP value.

This fixes longjmp/setjmp for statically linked programs, e.g. /rescue/csh
or the static tcsh variant from pkgsrc.
2013-03-12 19:38:20 +00:00
..
2012-10-15 22:22:01 +00:00
2013-03-06 11:29:01 +00:00
2012-10-13 15:28:33 +00:00
2013-03-06 11:27:46 +00:00
2013-03-11 10:44:43 +00:00
2013-01-29 19:14:02 +00:00
2013-03-01 18:25:13 +00:00
2013-03-08 16:52:11 +00:00