Author: lupus
Date: 2005-07-07 06:16:42 -0400 (Thu, 07 Jul 2005)
New Revision: 47033
Modified:
trunk/mono/libgc/ChangeLog
trunk/mono/libgc/pthread_support.c
Log:
Thu Jul 7 12:15:22 CEST 2005 Paolo Molaro <[EMAIL PROTECTED]>
* pthread_support.c: fix compilation when TLS_ALLOC is not defined.
Modified: trunk/mono/libgc/ChangeLog
===================================================================
--- trunk/mono/libgc/ChangeLog 2005-07-07 10:13:38 UTC (rev 47032)
+++ trunk/mono/libgc/ChangeLog 2005-07-07 10:16:42 UTC (rev 47033)
@@ -1,4 +1,9 @@
+
+Thu Jul 7 12:15:22 CEST 2005 Paolo Molaro <[EMAIL PROTECTED]>
+
+ * pthread_support.c: fix compilation when TLS_ALLOC is not defined.
+
Thu Jul 7 11:59:42 CEST 2005 Paolo Molaro <[EMAIL PROTECTED]>
* pthread_support.c, Makefile.am: make the __thread var use
Modified: trunk/mono/libgc/pthread_support.c
===================================================================
--- trunk/mono/libgc/pthread_support.c 2005-07-07 10:13:38 UTC (rev 47032)
+++ trunk/mono/libgc/pthread_support.c 2005-07-07 10:16:42 UTC (rev 47033)
@@ -568,7 +568,7 @@
* gcc-3.3.6 miscompiles the &GC_thread_key+sizeof(&GC_thread_key) expression
so
* put it into a separate function.
*/
-# ifdef __GNUC__
+# if defined(__GNUC__) && defined(THREAD_LOCAL_ALLOC) &&
!defined(DBG_HDRS_ALL)
static __attribute__((noinline)) unsigned char* get_gc_thread_key_addr
GC_PROTO((void))
{
return (unsigned char*)&GC_thread_key;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches