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 ...
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.
Issue 7057063: code review 7057063: cmd/go: get -m options from GOARCH when using gccgo
(Closed)
Created 12 years, 9 months ago by iant
Modified 12 years, 9 months ago
Reviewers:
Base URL:
Comments: 2