* PropertyDescriptorCollectionTests.cs: Allow tests for pass on MS.
[mono.git] / libgc / pthread_support.c
index 68084bd61874464b4ae34adcb2224d6db1dcfe77..6306f2cd0ceb244d445e0701e0d8ca2ef01bf71b 100644 (file)
@@ -191,7 +191,14 @@ static
 GC_key_t GC_thread_key;
 
 #ifdef USE_COMPILER_TLS
-static __thread MONO_TLS_FAST void* GC_thread_tls;
+/*
+ * gcc errors out with /tmp/ccdPMFuq.s:2994: Error: symbol `.LTLS4' is already defined
+ * if the static is removed on ppc.
+ */
+#if defined(__ppc__) || defined(__powerpc__)
+static
+#endif
+__thread MONO_TLS_FAST void* GC_thread_tls;
 #endif
 
 static GC_bool keys_initialized;