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
46137557
Commit
46137557
authored
Apr 01, 2011
by
Evan Shaw
Committed by
Russ Cox
Apr 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: make Syscall6 pass 6th arg on linux/386
R=rsc CC=golang-dev
https://golang.org/cl/4350043
parent
a78a25a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/pkg/syscall/asm_linux_386.s
src/pkg/syscall/asm_linux_386.s
+1
-2
No files found.
src/pkg/syscall/asm_linux_386.s
View file @
46137557
...
...
@@ -34,7 +34,6 @@ ok:
RET
//
func
Syscall6
(
trap
uintptr
,
a1
,
a2
,
a3
,
a4
,
a5
,
a6
uintptr
)
(
r1
,
r2
,
err
uintptr
)
;
//
Actually
Syscall5
but
the
rest
of
the
code
expects
it
to
be
named
Syscall6
.
TEXT
·
Syscall6
(
SB
),7,$0
CALL
runtime
·
entersyscall
(
SB
)
MOVL
4
(
SP
),
AX
//
syscall
entry
...
...
@@ -43,7 +42,7 @@ TEXT ·Syscall6(SB),7,$0
MOVL
16
(
SP
),
DX
MOVL
20
(
SP
),
SI
MOVL
24
(
SP
),
DI
//
28
(
SP
)
is
ignored
MOVL
28
(
SP
),
BP
INT
$
0x80
CMPL
AX
,
$
0xfffff001
JLS
ok6
...
...
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