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
fa259ff8
Commit
fa259ff8
authored
Jun 05, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix different ANON flag between
darwin and linux SVN=121371
parent
959f9fb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/runtime/rt0_amd64_linux.s
src/runtime/rt0_amd64_linux.s
+10
-1
No files found.
src/runtime/rt0_amd64_linux.s
View file @
fa259ff8
...
...
@@ -60,9 +60,18 @@ TEXT sys_mmap(SB),1,$-8
MOVQ
8
(
SP
),
DI
MOVL
16
(
SP
),
SI
MOVL
20
(
SP
),
DX
MOVL
24
(
SP
),
R10
MOVL
24
(
SP
),
CX
MOVL
28
(
SP
),
R8
MOVL
32
(
SP
),
R9
/*
flags
arg
for
ANON
is
1000
but
sb
20
*/
MOVL
CX
,
AX
ANDL
$~
0x1000
,
CX
ANDL
$
0x1000
,
AX
SHRL
$
7
,
AX
ORL
AX
,
CX
MOVL
CX
,
R10
MOVL
$
9
,
AX
//
syscall
entry
SYSCALL
CMPQ
AX
,
$
0xfffffffffffff001
...
...
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