* mach_dep.c: Don't use __builtin_unwind_init for register
state on PowerPC/Darwin.
+2009-05-07 Hans Boehm <Hans.Boehm@hp.com> and Mark Sibly
+ * mach_dep.c: Don't use __builtin_unwind_init for register
+ state on PowerPC/Darwin.
+
2009-04-24 Hans Boehm <Hans.Boehm@hp.com>
* doc/gcdescr.html: Improve description of object freelist
structure.
GC_save_regs_ret_val = GC_save_regs_in_stack();
}
# endif /* register windows. */
-# elif defined(HAVE_BUILTIN_UNWIND_INIT)
+# elif defined(HAVE_BUILTIN_UNWIND_INIT) && \
+ !(defined(POWERPC) && defined(DARWIN))
/* This was suggested by Richard Henderson as the way to */
/* force callee-save registers and register windows onto */
/* the stack. */
+ /* Mark Sibly points out that this doesn't seem to work */
+ /* on MacOS 10.3.9/PowerPC. */
__builtin_unwind_init();
# else /* !HAVE_BUILTIN_UNWIND_INIT && !UNIX_LIKE */
/* && !HAVE_PUSH_REGS */