Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(214)

Issue 7057063: code review 7057063: cmd/go: get -m options from GOARCH when using gccgo (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by iant
Modified:
12 years, 9 months ago
Reviewers:
CC:
golang-dev, bradfitz, minux1
Visibility:
Public.

Description

cmd/go: get -m options from GOARCH when using gccgo

Patch Set 1 #

Total comments: 2

Patch Set 2 : diff -r 7359dad2971d https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
M src/cmd/go/build.go View 6 chunks +18 lines, -9 lines 0 comments Download

Messages

Total messages: 5
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 9 months ago (2013-01-09 22:29:19 UTC) #1
bradfitz
LGTM On Wed, Jan 9, 2013 at 2:29 PM, <iant@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
12 years, 9 months ago (2013-01-09 22:38:47 UTC) #2
minux1
https://codereview.appspot.com/7057063/diff/1/src/cmd/go/build.go File src/cmd/go/build.go (right): https://codereview.appspot.com/7057063/diff/1/src/cmd/go/build.go#newcode1583 src/cmd/go/build.go:1583: return []string{"-marm"} // not thumb does gccgo require -marm ...
12 years, 9 months ago (2013-01-09 22:42:30 UTC) #3
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=4254b351ee3c *** cmd/go: get -m options from GOARCH when using gccgo R=golang-dev, ...
12 years, 9 months ago (2013-01-09 22:45:10 UTC) #4
iant
12 years, 9 months ago (2013-01-09 23:21:16 UTC) #5
Message was sent while issue was closed.
https://codereview.appspot.com/7057063/diff/1/src/cmd/go/build.go
File src/cmd/go/build.go (right):

https://codereview.appspot.com/7057063/diff/1/src/cmd/go/build.go#newcode1583
src/cmd/go/build.go:1583: return []string{"-marm"} // not thumb
On 2013/01/09 22:42:30, minux wrote:
> does gccgo require -marm for ARM?
> -marm is only necessary because 5l can't handle
> thumb library yet and i think this doesn't apply
> to gccgo.

That's a fair point but I think it does no harm and it keeps the code together. 
In order to get thumb code you need to pass an explicit -mthumb, and if that
worked before (using --gccgoflags) it should continue to work.  I don't know
whether it works, but this shouldn't affect it.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b