projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c858af
)
runtime: Fix build on non-split-stack systems.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 16 Jul 2013 15:44:54 +0000
(15:44 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 16 Jul 2013 15:44:54 +0000
(15:44 +0000)
From-SVN: r200983
libgo/runtime/proc.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/proc.c
b/libgo/runtime/proc.c
index 9639922f2d70d5aad67e47b7eff2e5e3e915d617..d1f277a8bc82692d4e858ee2ad329b7c2db28a62 100644
(file)
--- a/
libgo/runtime/proc.c
+++ b/
libgo/runtime/proc.c
@@
-1666,7
+1666,11
@@
runtime_entersyscall()
&g->gcnext_segment, &g->gcnext_sp,
&g->gcinitial_sp);
#else
- g->gcnext_sp = (byte *) &v;
+ {
+ uint32 v;
+
+ g->gcnext_sp = (byte *) &v;
+ }
#endif
// Save the registers in the g structure so that any pointers
@@
-1713,7
+1717,7
@@
runtime_entersyscallblock(void)
&g->gcnext_segment, &g->gcnext_sp,
&g->gcinitial_sp);
#else
- g->gcnext_sp = (byte *) &
v
;
+ g->gcnext_sp = (byte *) &
p
;
#endif
// Save the registers in the g structure so that any pointers