projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2007-10-19 Marek Habersack <mhabersack@novell.com>
[mono.git]
/
libgc
/
pthread_support.c
diff --git
a/libgc/pthread_support.c
b/libgc/pthread_support.c
index 070eb821125614af71ea844a3530fa043fd5e73d..6306f2cd0ceb244d445e0701e0d8ca2ef01bf71b 100644
(file)
--- 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
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
__thread MONO_TLS_FAST void* GC_thread_tls;
#endif