Source-Changes archive

[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

Modified Files:
        src/lib/libc/arch/x86_64/gen [netbsd-3]: swapcontext.S

Log Message:
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 -r1.3.2.1 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.

Home | Main Index | Thread Index | Old Index