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
e8f2692c
Commit
e8f2692c
authored
Jan 20, 2011
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5l: document -F, force it on old ARMs
Fixes #1341. R=ken2, r CC=golang-dev
https://golang.org/cl/4006045
parent
f1751e7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/cmd/5l/doc.go
src/cmd/5l/doc.go
+3
-0
src/cmd/5l/obj.c
src/cmd/5l/obj.c
+5
-0
No files found.
src/cmd/5l/doc.go
View file @
e8f2692c
...
...
@@ -20,6 +20,9 @@ Original options are listed in the link above.
Options new in this version:
-F
Force use of software floating point.
Also implied by setting GOARM=5 in the environment.
-L dir1 -L dir2
Search for libraries (package files) in dir1, dir2, etc.
The default is the single location $GOROOT/pkg/$GOOS_arm.
...
...
src/cmd/5l/obj.c
View file @
e8f2692c
...
...
@@ -69,6 +69,7 @@ void
main
(
int
argc
,
char
*
argv
[])
{
int
c
,
i
;
char
*
p
;
Binit
(
&
bso
,
1
,
OWRITE
);
cout
=
-
1
;
...
...
@@ -80,6 +81,10 @@ main(int argc, char *argv[])
INITDAT
=
-
1
;
INITRND
=
-
1
;
INITENTRY
=
0
;
p
=
getenv
(
"GOARM"
);
if
(
p
!=
nil
&&
strcmp
(
p
,
"5"
)
==
0
)
debug
[
'F'
]
=
1
;
ARGBEGIN
{
default:
...
...
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