SOURCES: mono-gc-sparc.patch (NEW) - fix libgc build on sparc (and...

qboosh qboosh at pld-linux.org
Sat Sep 3 23:32:59 CEST 2005


Author: qboosh                       Date: Sat Sep  3 21:32:57 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix libgc build on sparc (and possibly some other archs)

---- Files affected:
SOURCES:
   mono-gc-sparc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mono-gc-sparc.patch
diff -u /dev/null SOURCES/mono-gc-sparc.patch:1.1
--- /dev/null	Sat Sep  3 23:32:57 2005
+++ SOURCES/mono-gc-sparc.patch	Sat Sep  3 23:32:52 2005
@@ -0,0 +1,15 @@
+--- mono-1.1.8.3/libgc/pthread_support.c.orig	2005-06-19 09:59:53.000000000 +0000
++++ mono-1.1.8.3/libgc/pthread_support.c	2005-09-03 21:07:26.422535974 +0000
+@@ -561,10 +561,12 @@
+  * put it into a separate function.
+  */
+ #   ifdef __GNUC__
++#   if 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;
+ }
++#   endif
+ 
+ void GC_push_thread_structures GC_PROTO((void))
+ {
================================================================



More information about the pld-cvs-commit mailing list