SOURCES: mono-alpha-tls.patch (NEW) - fix build on alpha with __th...

qboosh qboosh at pld-linux.org
Thu Oct 6 15:46:53 CEST 2005


Author: qboosh                       Date: Thu Oct  6 13:46:53 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build on alpha with __thread TLS enabled

---- Files affected:
SOURCES:
   mono-alpha-tls.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mono-alpha-tls.patch
diff -u /dev/null SOURCES/mono-alpha-tls.patch:1.1
--- /dev/null	Thu Oct  6 15:46:53 2005
+++ SOURCES/mono-alpha-tls.patch	Thu Oct  6 15:46:48 2005
@@ -0,0 +1,11 @@
+--- mono-1.1.9.1/mono/utils/mono-compiler.h.orig	2005-08-27 16:36:10.000000000 +0200
++++ mono-1.1.9.1/mono/utils/mono-compiler.h	2005-10-06 14:30:44.000000000 +0200
+@@ -9,7 +9,7 @@
+ #ifdef HAVE_KW_THREAD
+ #if HAVE_TLS_MODEL_ATTR
+ 
+-#if defined(PIC) && defined(__x86_64__)
++#if defined(PIC) && (defined(__x86_64__) || defined(__alpha__))
+ #define MONO_TLS_FAST 
+ #elif defined (__powerpc__)
+ #define MONO_TLS_FAST
================================================================



More information about the pld-cvs-commit mailing list