Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/arch/x86_64/gen



Module Name:    src
Committed By:   pooka
Date:           Thu Apr 12 12:33:26 UTC 2007

Modified Files:
        src/lib/libc/arch/x86_64/gen: swapcontext.S

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