]> granicus.if.org Git - gc/commitdiff
2009-06-16 Geoff Norton <gnorton@novell.com>
authorGeoff Norton <grompf@sublimeintervention.com>
Wed, 17 Jun 2009 01:13:07 +0000 (01:13 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:31:21 +0000 (15:31 +0400)
        * include/private/gcconfig.h:  Disable static scanning on this platform
        * misc.c: Enable platform-specific disabling of static scanning

svn path=/trunk/mono/; revision=136280

ChangeLog
include/private/gcconfig.h
misc.c

index af9f7242f6c60fdd35656fe428efc8b69032f79d..5e4e2844841fb8f0df63fb21581ec3713b54fdc2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-16  Geoff Norton  <gnorton@novell.com>
+
+       * include/private/gcconfig.h:  Disable static scanning on this platform
+       * misc.c: Enable platform-specific disabling of static scanning
+
 2009-06-06  Zoltan Varga  <vargaz@gmail.com>
 
        * CMakeLists.txt: Fix handling of powerpc and the selection of 
index 66137857ba86f5e300c5c6c0a40967b996e36146..d46e686aa0bdaf608264d1425347684d1bfcc2e8 100644 (file)
 #    define ARM
 #    define mach_type_known
 #    define DARWIN_DONT_PARSE_STACK
+#    define GC_DONT_REGISTER_MAIN_STATIC_DATA
 #   endif
 # endif
 # if defined(NeXT) && defined(mc68000)
diff --git a/misc.c b/misc.c
index ee4348b29204e7f4edb7350b4342097b73816016..4744faa405e9305b2ecbd0f1b05631cc2aa07762 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -81,6 +81,8 @@
 /* dyn_load.c isn't linked in.                                         */
 #ifdef DYNAMIC_LOADING
 # define GC_REGISTER_MAIN_STATIC_DATA() GC_register_main_static_data()
+#elif defined(GC_DONT_REGISTER_MAIN_STATIC_DATA)
+# define GC_REGISTER_MAIN_STATIC_DATA() FALSE
 #else
 # define GC_REGISTER_MAIN_STATIC_DATA() TRUE
 #endif