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
6b93a92a
Commit
6b93a92a
authored
Feb 02, 2011
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows: fix build?
Shot in the dark. TBR=r CC=golang-dev
https://golang.org/cl/4126054
parent
27191b55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/pkg/runtime/386/asm.s
src/pkg/runtime/386/asm.s
+8
-0
src/pkg/runtime/linux/386/rt0.s
src/pkg/runtime/linux/386/rt0.s
+0
-8
No files found.
src/pkg/runtime/386/asm.s
View file @
6b93a92a
...
...
@@ -5,6 +5,14 @@
#include "386/asm.h"
TEXT
_rt0_386
(
SB
),7,$0
//
Linux
,
Windows
start
the
FPU
in
extended
double
precision
.
//
Other
operating
systems
use
double
precision
.
//
Change
to
double
precision
to
match
them
,
//
and
to
match
other
hardware
that
only
has
double
.
PUSHL
$
0x27F
FLDCW
0
(
SP
)
POPL
AX
//
copy
arguments
forward
on
an
even
stack
MOVL
0
(
SP
),
AX
//
argc
LEAL
4
(
SP
),
BX
//
argv
...
...
src/pkg/runtime/linux/386/rt0.s
View file @
6b93a92a
...
...
@@ -5,13 +5,5 @@
//
Darwin
and
Linux
use
the
same
linkage
to
main
TEXT
_rt0_386_linux
(
SB
),7,$0
//
Linux
starts
the
FPU
in
extended
double
precision
.
//
Other
operating
systems
use
double
precision
.
//
Change
to
double
precision
to
match
them
,
//
and
to
match
other
hardware
that
only
has
double
.
PUSHL
$
0x27F
FLDCW
0
(
SP
)
POPL
AX
JMP
_rt0_386
(
SB
)
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