Date: Wed, 3 Mar 2010 21:28:55 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r204666 - head/sys/mips/mips Message-ID: <201003032128.o23LStlY070768@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed Mar 3 21:28:55 2010 New Revision: 204666 URL: http://svn.freebsd.org/changeset/base/204666 Log: Looks like S8 and SP are reversed in setjmp, so longjmp doesn't work as well as one would hope.... Submitted by: Arten Belevich Modified: head/sys/mips/mips/support.S Modified: head/sys/mips/mips/support.S ============================================================================== --- head/sys/mips/mips/support.S Wed Mar 3 21:27:54 2010 (r204665) +++ head/sys/mips/mips/support.S Wed Mar 3 21:28:55 2010 (r204666) @@ -1474,8 +1474,8 @@ LEAF(setjmp) STORE s5, (RSIZE * PREG_S5)(a0) STORE s6, (RSIZE * PREG_S6)(a0) STORE s7, (RSIZE * PREG_S7)(a0) - STORE s8, (RSIZE * PREG_SP)(a0) - STORE sp, (RSIZE * PREG_S8)(a0) + STORE s8, (RSIZE * PREG_S8)(a0) + STORE sp, (RSIZE * PREG_SP)(a0) STORE ra, (RSIZE * PREG_RA)(a0) STORE v0, (RSIZE * PREG_SR)(a0) jr ra
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003032128.o23LStlY070768>