[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-3] src/lib/libc/arch/x86_64/gen
Module Name: src
Committed By: bouyer
Date: Sun May 27 20:31:20 UTC 2007
src/lib/libc/arch/x86_64/gen [netbsd-3]: swapcontext.S
Pull up following revision(s) (requested by pooka in ticket #1772):
lib/libc/arch/x86_64/gen/swapcontext.S: revision 1.4
Don't clobber callee save registers r12 & r13 in swapcontext. They
were saved in the stack, but the subsequent swapcontext would return
to the earlier stack frame and never restore them. Fixes puffs
with default compiler flags on amd64.
Thanks to Mihai Chelaru for providing access to an amd64 machine
for debugging this problem.
To generate a diff of this commit:
cvs rdiff -r1.3 -r220.127.116.11 src/lib/libc/arch/x86_64/gen/swapcontext.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |