[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/44902 CVS commit: src/lib/libc/arch/sparc64/gen
The following reply was made to PR port-sparc64/44902; it has been noted by
From: "Martin Husemann" <martin%netbsd.org@localhost>
Subject: PR/44902 CVS commit: src/lib/libc/arch/sparc64/gen
Date: Wed, 27 Apr 2011 21:08:48 +0000
Module Name: src
Committed By: martin
Date: Wed Apr 27 21:08:48 UTC 2011
src/lib/libc/arch/sparc64/gen: longjmp.c setjmp.S sigsetjmp.S
Fix offsets used in the assembly code to save global registers into a
jmp_buf, add a compile time assert to catch this kind of divergence
in the C code.
Move the fixed "%npc = %pc + 4" computation to longjmp, this frees
the sigcontext sc_npc value. Use this space to save the savemask
for siglongjmp (we have run out of space behind the globals).
Fixes the tests/lib/libc/setjmp/t_threadjmp tests, and also hopefully
fixes PR port-sparc64/44902.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/sparc64/gen/longjmp.c
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/arch/sparc64/gen/setjmp.S
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/arch/sparc64/gen/sigsetjmp.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |