[Pkg-mono-svn-commits] [mono] 05/05: [ppc] clobber r0 in MONO_CONTEXT_GET_CURRENT

Jo Shields directhex at moszumanska.debian.org
Thu Nov 10 12:54:18 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 05a71e1eabe3db59ba78d575a51c3a182ae6eb8e
Author: Bernhard Urban <bernhard.urban at xamarin.com>
Date:   Wed Nov 9 16:03:52 2016 +0100

    [ppc] clobber r0 in MONO_CONTEXT_GET_CURRENT
    
    r0 can't be the base for a memory acces.
    
    (cherry picked from commit e8c35444473963aaadfb528644ba4c90801b2a4a)
---
 mono/utils/mono-context.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mono/utils/mono-context.h b/mono/utils/mono-context.h
index 71c6df8..e4cbedc 100644
--- a/mono/utils/mono-context.h
+++ b/mono/utils/mono-context.h
@@ -543,7 +543,7 @@ typedef struct {
 		"stfd 30, 8*30+4*32+8(%0)\n"	\
 		"stfd 31, 8*31+4*32+8(%0)\n"	\
 		: : "r" (&(ctx))	\
-		: "memory"			\
+		: "memory", "r0"	\
 	)
 
 #endif

-- 
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