Date: Wed, 3 Sep 2003 17:29:12 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/amd64/sys Makefile.inc getcontext.S Message-ID: <200309040029.h840TCGT040408@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2003/09/03 17:29:12 PDT
FreeBSD src repository
Modified files:
lib/libc/amd64/sys Makefile.inc
Added files:
lib/libc/amd64/sys getcontext.S
Log:
Apply same basic fix for getcontext(2) as for i386. Store the return
value for getcontext() in a preserved register rather than on the stack.
The second time around, the stack value would likely have changed so we
can't depend on it for the return value.
Revision Changes Path
1.28 +2 -2 src/lib/libc/amd64/sys/Makefile.inc
1.1 +54 -0 src/lib/libc/amd64/sys/getcontext.S (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309040029.h840TCGT040408>
