diff --git a/CHANGES.html b/CHANGES.html index d723813877..0872389cde 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -17,6 +17,7 @@
  • Stack shuffles are compiled more efficiently.
  • Pushing literals on either side of a stack shuffle is now compiled more efficiently.
  • Fixed a problem with relocation of compiled code on PowerPC.
  • +
  • Fixed various FFI issues on Mac OS X.
  • @@ -24,7 +25,7 @@
  • User interface:
  • diff --git a/library/compiler/ppc/generator.factor b/library/compiler/ppc/generator.factor index 91eac8e198..7db4a1c9ef 100644 --- a/library/compiler/ppc/generator.factor +++ b/library/compiler/ppc/generator.factor @@ -7,7 +7,7 @@ kernel-internals lists math memory namespaces words ; : compile-c-call ( symbol dll -- ) 2dup dlsym 11 LOAD32 0 1 rel-dlsym 11 MTLR BLRL ; -: stack-increment \ stack-reserve get stack@ 16 align ; +: stack-increment \ stack-reserve get 32 max stack@ 16 align ; M: %prologue generate-node ( vop -- ) drop diff --git a/native/unix/mach_signal.c b/native/unix/mach_signal.c index 8b52fec1aa..a6f5ba9a42 100644 --- a/native/unix/mach_signal.c +++ b/native/unix/mach_signal.c @@ -3,7 +3,9 @@ Copyright (C) 1993-1999, 2002-2003 Bruno Haible Copyright (C) 2003 Paolo Bonzini Used under BSD license with permission from Paolo Bonzini and Bruno Haible, -2005-03-10 */ +2005-03-10 + +see http://www.caddr.com/macho/archives/sbcl-devel/2005-3/4764.html */ #ifdef __APPLE__ @@ -26,10 +28,7 @@ static SIGSEGV_THREAD_STATE_TYPE save_thread_state; static void terminating_handler () { - /* Dump core. */ raise (SIGSEGV); - - /* Seriously. */ abort (); }