1.0.25.54: centralize scattered arch_os_get_context() calls
authorGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 22:30:25 +0000 (22:30 +0000)
committerGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 22:30:25 +0000 (22:30 +0000)
commit012b1558b80a988901569412ca79d544ed30ff6a
treedad187b027746948db26d92473e79d06a21e9ce3
parent4a205a8b2d0c08b7e95bda46ff9ae48925ae1fcc
1.0.25.54: centralize scattered arch_os_get_context() calls

... to the six signal handlers trampolines. These are now the only
places where void_context appears, the rest of the runtime uses
os_context_t.

Also, the &void_context+37 hack was removed. On Sparc/Linux the third
parameter of SA_SIGINFO signal handlers is a pointer to sigcontext,
which happens to be the same as &void_context+37 most of the time,
though.

I have tested two on Sparc/Linux boxes, one running 2.6.26 that
randomly segfaulted compiling itself with 1.0.25.12, and another
runnin 2.6.24 that worked fine before at that version.

Thanks to Bruce O'Neel for the shell access.
19 files changed:
NEWS
src/runtime/bsd-os.c
src/runtime/hppa-arch.c
src/runtime/hpux-os.c
src/runtime/interrupt.c
src/runtime/interrupt.h
src/runtime/linux-os.c
src/runtime/mips-arch.c
src/runtime/osf1-os.c
src/runtime/ppc-arch.c
src/runtime/runtime.c
src/runtime/sparc-arch.c
src/runtime/sparc-linux-os.h
src/runtime/sunos-os.c
src/runtime/x86-64-arch.c
src/runtime/x86-64-darwin-os.c
src/runtime/x86-arch.c
src/runtime/x86-darwin-os.c
version.lisp-expr