mirror of git://gcc.gnu.org/git/gcc.git
runtime: Fix build on non-split-stack systems.
From-SVN: r200983
This commit is contained in:
parent
1c858af58f
commit
081e7aadae
|
|
@ -1666,7 +1666,11 @@ runtime_entersyscall()
|
||||||
&g->gcnext_segment, &g->gcnext_sp,
|
&g->gcnext_segment, &g->gcnext_sp,
|
||||||
&g->gcinitial_sp);
|
&g->gcinitial_sp);
|
||||||
#else
|
#else
|
||||||
g->gcnext_sp = (byte *) &v;
|
{
|
||||||
|
uint32 v;
|
||||||
|
|
||||||
|
g->gcnext_sp = (byte *) &v;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Save the registers in the g structure so that any pointers
|
// 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->gcnext_segment, &g->gcnext_sp,
|
||||||
&g->gcinitial_sp);
|
&g->gcinitial_sp);
|
||||||
#else
|
#else
|
||||||
g->gcnext_sp = (byte *) &v;
|
g->gcnext_sp = (byte *) &p;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Save the registers in the g structure so that any pointers
|
// Save the registers in the g structure so that any pointers
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue