Date: Sun, 5 Jan 2003 14:17:32 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sparc64/gen _setjmp.S setjmp.S Message-ID: <200301052217.h05MHW27014964@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301052217.h05MHW27014964>
