mirror of
https://github.com/golang/go
synced 2024-11-05 14:46:11 -07:00
32-bit stack switching bug fix
R=ken OCL=29412 CL=29412
This commit is contained in:
parent
51ddddc67e
commit
5273868f67
@ -135,7 +135,7 @@ TEXT setspgoto(SB), 7, $0
|
||||
MOVL AX, SP
|
||||
PUSHL CX
|
||||
JMP BX
|
||||
POPL AX
|
||||
POPL AX // not reached
|
||||
RET
|
||||
|
||||
// bool cas(int32 *val, int32 old, int32 new)
|
||||
|
@ -705,7 +705,7 @@ newstack(void)
|
||||
|
||||
#pragma textflag 7
|
||||
void
|
||||
sys·morestack(uint64 u)
|
||||
sys·morestack(uintptr u)
|
||||
{
|
||||
while(g == m->g0) {
|
||||
// very bad news
|
||||
|
Loading…
Reference in New Issue
Block a user