[Pkg-mono-svn-commits] [mono] 01/05: [ppc] disable MONO_ARCH_HAVE_TLS_GET

Jo Shields directhex at moszumanska.debian.org
Thu Nov 10 12:54:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to branch master-patches/fix-ppc
in repository mono.

commit 09d9fb5991b1a5d1fac47dc142067b868b77aed9
Author: Bernhard Urban <bernhard.urban at xamarin.com>
Date:   Wed Nov 9 12:36:23 2016 +0100

    [ppc] disable MONO_ARCH_HAVE_TLS_GET
    
    `--with-tls=__thread` is broken on PowerPC.
    `--with-tls=pthread` didn't work on PowerPC, but disabling
    MONO_ARCH_HAVE_TLS_GET fixes it.
    
    Instead of guarding the define with `HAVE_KW_THREAD`, let's just
    disable it.  We want to get rid of `--with-tls=__thread` anyway.
    
    (cherry picked from commit 5d96019cc21ef7228d89becac3a69870c797e5f9)
---
 mono/mini/mini-ppc.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/mono/mini/mini-ppc.h b/mono/mini/mini-ppc.h
index b0d4654..b8681fc 100644
--- a/mono/mini/mini-ppc.h
+++ b/mono/mini/mini-ppc.h
@@ -77,13 +77,8 @@ typedef struct MonoCompileArch {
 #define PPC_USES_FUNCTION_DESCRIPTOR
 #endif
 
-#ifndef __mono_ilp32__
-#define MONO_ARCH_HAVE_TLS_GET 1
-#endif
-
 #else /* must be __mono_ppc__ */
 
-#define MONO_ARCH_HAVE_TLS_GET 1
 #define MONO_ARCH_EMULATE_FCONV_TO_I8 1
 #define MONO_ARCH_EMULATE_LCONV_TO_R8 1
 #define MONO_ARCH_EMULATE_LCONV_TO_R4 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git



More information about the Pkg-mono-svn-commits mailing list