projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
584138b
)
[ppc] clobber r0 in MONO_CONTEXT_GET_CURRENT
author
Bernhard Urban
<bernhard.urban@xamarin.com>
Wed, 9 Nov 2016 15:03:52 +0000
(16:03 +0100)
committer
Bernhard Urban
<bernhard.urban@xamarin.com>
Thu, 10 Nov 2016 12:00:36 +0000
(13:00 +0100)
r0 can't be the base for a memory acces.
mono/utils/mono-context.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-context.h
b/mono/utils/mono-context.h
index 71af9f5fab750cee8bbe7659f1deb88a050f64a1..499c37846b714eea7f0e525f1b1dd04aed3e09e7 100644
(file)
--- 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