From: Bernhard Urban Date: Wed, 9 Nov 2016 15:03:52 +0000 (+0100) Subject: [ppc] clobber r0 in MONO_CONTEXT_GET_CURRENT X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=e8c35444473963aaadfb528644ba4c90801b2a4a;p=mono.git [ppc] clobber r0 in MONO_CONTEXT_GET_CURRENT r0 can't be the base for a memory acces. --- diff --git a/mono/utils/mono-context.h b/mono/utils/mono-context.h index 71af9f5fab7..499c37846b7 100644 --- a/mono/utils/mono-context.h +++ b/mono/utils/mono-context.h @@ -640,7 +640,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