Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
2d3cc97c
Commit
2d3cc97c
authored
Mar 12, 2012
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: fix windows/amd64
Maybe. TBR=bradfitz CC=golang-dev
https://golang.org/cl/5754091
parent
4e18bfb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/pkg/runtime/sys_windows_amd64.s
src/pkg/runtime/sys_windows_amd64.s
+9
-2
No files found.
src/pkg/runtime/sys_windows_amd64.s
View file @
2d3cc97c
...
...
@@ -116,7 +116,7 @@ TEXT runtime·setlasterror(SB),7,$0
MOVL
AX
,
0x68
(
CX
)
RET
TEXT
runtime
·
sigtramp
(
SB
),7,$
56
TEXT
runtime
·
sigtramp
(
SB
),7,$
0
//
CX
:
exception
record
//
R8
:
context
...
...
@@ -125,7 +125,12 @@ TEXT runtime·sigtramp(SB),7,$56
MOVL
$
1
,
AX
JNZ
sigdone
//
copy
arguments
for
call
to
sighandler
//
copy
arguments
for
call
to
sighandler
.
//
Stack
adjustment
is
here
to
hide
from
6
l
,
//
which
doesn
't understand that sigtramp
//
runs
on
essentially
unlimited
stack
.
SUBQ
$
56
,
SP
MOVQ
CX
,
0
(
SP
)
MOVQ
R8
,
8
(
SP
)
...
...
@@ -151,6 +156,8 @@ TEXT runtime·sigtramp(SB),7,$56
MOVQ
32
(
SP
),
BP
MOVQ
40
(
SP
),
SI
MOVQ
48
(
SP
),
DI
ADDQ
$
56
,
SP
sigdone
:
RET
...
...
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