]> granicus.if.org Git - gc/commitdiff
libjava
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Sep 2006 18:06:04 +0000 (18:06 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 06:54:27 +0000 (10:54 +0400)
PR boehm-gc/29068:
* boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
(_Jv_GCDetachThread): Likewise.
boehm-gc
PR boehm-gc/29068.
* misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
Solaris.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116948 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
misc.c

index 70dcfb0d9d4737aa631963fb08ff9ad1cbef6b81..bf4f0cd1a6cea124f6039fd1530a1668025488bb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-14  Tom Tromey  <tromey@redhat.com>
+
+       PR boehm-gc/29068.
+       * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
+       Solaris.
+
 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
        
        PR libgcj/13212:
diff --git a/misc.c b/misc.c
index 23e226df52ab60239a43fff5be9d67fa69e6a21d..069c7d57ad0086e7c4b413dc157a62f67aa1ae40 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -674,7 +674,7 @@ void GC_init_inner()
 #   if !defined(THREADS) || defined(GC_PTHREADS) || defined(GC_WIN32_THREADS) \
        || defined(GC_SOLARIS_THREADS)
       if (GC_stackbottom == 0) {
-        # ifdef GC_PTHREADS
+        # if defined(GC_PTHREADS) && ! defined(GC_SOLARIS_THREADS)
        /* Use thread_stack_base if available, as GC could be initialized from
           a thread that is not the "main" thread.  */
        GC_stackbottom = GC_get_thread_stack_base();