Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
5273868f
Commit
5273868f
authored
May 27, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
32-bit stack switching bug fix
R=ken OCL=29412 CL=29412
parent
51ddddc6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
asm.s
src/runtime/386/asm.s
+1
-1
proc.c
src/runtime/proc.c
+1
-1
No files found.
src/runtime/386/asm.s
View file @
5273868f
...
@@ -135,7 +135,7 @@ TEXT setspgoto(SB), 7, $0
...
@@ -135,7 +135,7 @@ TEXT setspgoto(SB), 7, $0
MOVL AX, SP
MOVL AX, SP
PUSHL CX
PUSHL CX
JMP BX
JMP BX
POPL AX
POPL AX
// not reached
RET
RET
// bool cas(int32 *val, int32 old, int32 new)
// bool cas(int32 *val, int32 old, int32 new)
...
...
src/runtime/proc.c
View file @
5273868f
...
@@ -705,7 +705,7 @@ newstack(void)
...
@@ -705,7 +705,7 @@ newstack(void)
#pragma textflag 7
#pragma textflag 7
void
void
sys
·
morestack
(
uint
64
u
)
sys
·
morestack
(
uint
ptr
u
)
{
{
while
(
g
==
m
->
g0
)
{
while
(
g
==
m
->
g0
)
{
// very bad news
// very bad news
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment