From e657536d1f4baef84c3a9a460e1226221e0e67c9 Mon Sep 17 00:00:00 2001 From: hboehm Date: Tue, 28 Mar 2006 21:40:20 +0000 Subject: [PATCH] 2006-03-28 Hans Boehm * gcconfig.h: Don't define USE_ASM_PUSH_REGS for Solaris/SPARC or X86/Darwin. --- include/private/gcconfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index b54a3261..0e4d4b21 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -862,7 +862,8 @@ # define ALIGNMENT 4 /* Required by hardware */ # define CPP_WORDSZ 32 # endif -# define USE_ASM_PUSH_REGS + /* Don't define USE_ASM_PUSH_REGS. We do use an asm helper, but */ + /* not to push the registers on the mark stack. */ # ifdef SUNOS5 # define OS_TYPE "SUNOS5" extern int _etext[]; @@ -1257,7 +1258,6 @@ # define STACKBOTTOM ((ptr_t) 0xc0000000) # define USE_MMAP # define USE_MMAP_ANON -# define USE_ASM_PUSH_REGS /* This is potentially buggy. It needs more testing. See the comments in os_dep.c. It relies on threads to track writes. */ # ifdef GC_DARWIN_THREADS -- 2.40.0