jhb aa70e16a77 Fix makecontext() on MIPS O32.
The GP register can be clobbered by the callback, so save it in S1
while invoking the callback function.

While here, add a comment expounding on the treatment of GP for the
various ABIs and the assumptions made.

Reviewed by:	jmallett (earlier version)
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D14179
2018-02-05 18:10:28 +00:00
..
2018-01-31 17:57:59 +00:00
2017-12-08 17:52:53 +00:00
2018-02-05 18:10:28 +00:00
2018-01-22 02:58:33 +00:00
2018-01-26 08:38:26 +00:00
2017-08-13 14:42:23 +00:00
2017-10-05 23:01:33 +00:00