Index: /branches/ide-1.0/ccl/lisp-kernel/x86-spentry64.s
===================================================================
--- /branches/ide-1.0/ccl/lisp-kernel/x86-spentry64.s	(revision 6778)
+++ /branches/ide-1.0/ccl/lisp-kernel/x86-spentry64.s	(revision 6779)
@@ -3952,4 +3952,19 @@
 	__(pop %r9)
 	__(call *%r11)
+        __ifdef([DARWIN])        
+        /* Handle exceptions, for ObjC 2.0 */
+        __(jmp LFFCallNoException)
+LFFCallLandingPad:      
+        __(movq %rax,%save1)
+        __(cmpq $1,%rdx)
+        __(je 1f)
+        __(movq %rax,%rdi)
+       	__(call *lisp_global(unwind_resume))
+1:      __(movq %save1,%rdi)
+        __(call *lisp_global(objc2_begin_catch))
+        __(movq %rax,%save1)
+        __(call *lisp_global(objc2_end_catch))
+LFFCallNoException:             
+        __endif
 	__(movq %rbp,%rsp)
         __ifdef([DARWIN_GS_HACK])
@@ -4000,4 +4015,6 @@
         __(leave)
 	__(ret)
+        
+        
 _endsubp(ffcall)
 
@@ -4733,4 +4750,5 @@
 
 _spentry(breakpoint)
+        __(int $3)
 _endsubp(breakpoint)
 
@@ -4739,7 +4757,9 @@
 
 _spentry(unused_5)
+        __(int $3)
 _endsubp(unused_5)
 
 _spentry(unused_6)
+        __(int $3)
 _endsubp(unused_6)
 	
