Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2007-09-11 23:48:16 +0400
committerPaolo Molaro <lupus@oddwiz.org>2007-09-11 23:48:16 +0400
commit2c7ab35fb67762aabb1578e2329b6a96b098506a (patch)
tree872c3f3c8c2a10799d1df2d3a5c4e4081de392c4 /libgc/pthread_support.c
parent05561b2277b0b4be5a3aad5636290e0c37e777f8 (diff)
workaround for gcc bug showing up on the buildbot.
svn path=/trunk/mono/; revision=85654
Diffstat (limited to 'libgc/pthread_support.c')
-rw-r--r--libgc/pthread_support.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgc/pthread_support.c b/libgc/pthread_support.c
index 070eb821125..6306f2cd0ce 100644
--- a/libgc/pthread_support.c
+++ b/libgc/pthread_support.c
@@ -191,6 +191,13 @@ static
GC_key_t GC_thread_key;
#ifdef USE_COMPILER_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