Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/arch/sparc/gen/_setjmp.S
RevisionDateAuthorComments
 1.10  12-Jul-2014  nakayama Use save instruction to set up a local stack frame.

This fixes a segmentation fault caused by bash 4.3 on sparc64
kernels with 32-bit userland, bash uses _setjmp/_longjmp heavyly
via sigsetjmp/siglongjmp since 4.3.

For 32-bit compat library which is compiled with -mcpu=ultrasparc
option (and define __sparc_v9__), use a similar code to 64-bit
library.
 1.9  30-Apr-2011  martin branches: 1.9.6; 1.9.10; 1.9.12; 1.9.18; 1.9.20;
Save a few global registers during set/longjmp - at least the application
registers and the only currently used system register (%g7).
Sparc now passes the setjmp tests (and should be able to build perl again).
 1.8  28-Apr-2008  martin branches: 1.8.8;
Remove clause 3 and 4 from TNF licenses
 1.7  23-Mar-2004  pk branches: 1.7.30;
Fix comment: g6 => o1
 1.6  27-Jun-1999  pk A new implementation of _setjmp/_longjmp that uses the T_FLUSHWIN trap.
This means the stack frame and program counter can restored directly
from the jmp_buf, eliminating the need to backtrack through frames
which does not work in all cases.
 1.5  01-Jul-1998  tv Change immediate label references to _C_LABEL().
 1.4  16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.3  16-Nov-1996  pk Remove DEFS.h, which has been just a placeholder for a long time.
 1.2  06-Mar-1996  pk Avoid load/store doubles; jmp_buf is long aligned (Michael Eriksson; PR#2180)
 1.1  07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.7.30.1  18-May-2008  yamt sync with head.
 1.8.8.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8.8.1  28-Apr-2008  martin file _setjmp.S was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.9.20.1  10-Aug-2014  tls Rebase.
 1.9.18.1  07-Aug-2014  msaitoh Pull up following revision(s) (requested by nakayama in ticket #1100):
lib/libc/arch/sparc/gen/_setjmp.S: revision 1.10
Use save instruction to set up a local stack frame.
This fixes a segmentation fault caused by bash 4.3 on sparc64
kernels with 32-bit userland, bash uses _setjmp/_longjmp heavyly
via sigsetjmp/siglongjmp since 4.3.
For 32-bit compat library which is compiled with -mcpu=ultrasparc
option (and define __sparc_v9__), use a similar code to 64-bit
library.
 1.9.12.1  07-Aug-2014  msaitoh Pull up following revision(s) (requested by nakayama in ticket #1100):
lib/libc/arch/sparc/gen/_setjmp.S: revision 1.10
Use save instruction to set up a local stack frame.
This fixes a segmentation fault caused by bash 4.3 on sparc64
kernels with 32-bit userland, bash uses _setjmp/_longjmp heavyly
via sigsetjmp/siglongjmp since 4.3.
For 32-bit compat library which is compiled with -mcpu=ultrasparc
option (and define __sparc_v9__), use a similar code to 64-bit
library.
 1.9.10.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.6.1  07-Aug-2014  msaitoh Use save instruction to set up a local stack frame.
This fixes a segmentation fault caused by bash 4.3 on sparc64
kernels with 32-bit userland, bash uses _setjmp/_longjmp heavyly
via sigsetjmp/siglongjmp since 4.3.
For 32-bit compat library which is compiled with -mcpu=ultrasparc
option (and define __sparc_v9__), use a similar code to 64-bit
library.

RSS XML Feed