From owner-cvs-all Sun Jan 5 14:17:33 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D560637B401; Sun, 5 Jan 2003 14:17:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 810F043EC2; Sun, 5 Jan 2003 14:17:32 -0800 (PST) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h05MHWfh014965; Sun, 5 Jan 2003 14:17:32 -0800 (PST) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h05MHW27014964; Sun, 5 Jan 2003 14:17:32 -0800 (PST) Message-Id: <200301052217.h05MHW27014964@repoman.freebsd.org> From: Thomas Moestl Date: Sun, 5 Jan 2003 14:17:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sparc64/gen _setjmp.S setjmp.S X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2003/01/05 14:17:32 PST Modified files: lib/libc/sparc64/gen _setjmp.S setjmp.S Log: Rewrite longjmp() and _longjmp() to directly restore the saved frame, instead of unwinding the call stack. This makes them usable to switch stacks, e.g. for libc_r. Do not save the frame pointer in setjmp() and _setjmp(), it is not needed any more. Rename _longjmp() to ___longjmp(), with a weak alias to _longjmp(), like the other architectures did. Revision Changes Path 1.5 +13 -29 src/lib/libc/sparc64/gen/_setjmp.S 1.4 +6 -26 src/lib/libc/sparc64/gen/setjmp.S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message