From owner-p4-projects@FreeBSD.ORG Thu Mar 13 17:44:06 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2D8601065672; Thu, 13 Mar 2008 17:44:06 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E13561065670 for ; Thu, 13 Mar 2008 17:44:05 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CAD2F8FC26 for ; Thu, 13 Mar 2008 17:44:05 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2DHi5IT087679 for ; Thu, 13 Mar 2008 17:44:05 GMT (envelope-from rrs@cisco.com) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2DHi57M087677 for perforce@freebsd.org; Thu, 13 Mar 2008 17:44:05 GMT (envelope-from rrs@cisco.com) Date: Thu, 13 Mar 2008 17:44:05 GMT Message-Id: <200803131744.m2DHi57M087677@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rrs@cisco.com using -f From: "Randall R. Stewart" To: Perforce Change Reviews Cc: Subject: PERFORCE change 137623 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 17:44:06 -0000 http://perforce.freebsd.org/chv.cgi?CH=137623 Change 137623 by rrs@rrs-mips2-jnpr on 2008/03/13 17:43:53 CALLFRAME_RA is a reference value, not one to be used as a size, CALLFRAME_SIZE is needed. Also we need to assure a 8 byte divisible value, so we change the SZREG to 2 * SZREG. That will give us 8 or 16. Affected files ... .. //depot/projects/mips2-jnpr/src/lib/libc/mips/gen/setjmp.S#4 edit Differences ... ==== //depot/projects/mips2-jnpr/src/lib/libc/mips/gen/setjmp.S#4 (text+ko) ==== @@ -55,7 +55,7 @@ * and a struct sigcontext, see */ -#define SETJMP_FRAME_SIZE (CALLFRAME_SIZ + SZREG) +#define SETJMP_FRAME_SIZE (CALLFRAME_SIZ + (SZREG * 2)) NESTED(setjmp, SETJMP_FRAME_SIZE, ra) @@ -101,7 +101,7 @@ j ra END(setjmp) -#define LONGJMP_FRAME_SIZE CALLFRAME_RA + SZREG * 2 +#define LONGJMP_FRAME_SIZE (CALLFRAME_SIZ + (SZREG * 2)) NESTED(longjmp, LONGJMP_FRAME_SIZE, ra) .mask 0x80000000, (CALLFRAME_RA - CALLFRAME_SIZ)