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

Issue 12954043: code review 12954043: go/build, runtime/cgo: explicitly target ARMv5T (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by cshapiro
Modified:
11 years, 8 months ago
Reviewers:
minux1, iant, rsc, dave, cshapiro1, elias.naur
CC:
golang-dev, dave_cheney.net, rsc, elias.naur
Visibility:
Public.

Description

cmd/go, runtime/cgo: explicitly target ARMv5T The baseline architecture had been left to the GCC configured default which can be more accomodating than the rest of the Go toolchain. This prevented instructions used by the 5g compiler, like BLX, from being used in GCC compiled assembler code.

Patch Set 1 #

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

Patch Set 3 : diff -r 219bcd5db770 https://code.google.com/p/go #

Patch Set 4 : diff -r 219bcd5db770 https://code.google.com/p/go #

Patch Set 5 : diff -r 219bcd5db770 https://code.google.com/p/go #

Patch Set 6 : diff -r 3833ddddde2b https://code.google.com/p/go #

Patch Set 7 : diff -r 3833ddddde2b https://code.google.com/p/go #

Patch Set 8 : diff -r 3833ddddde2b https://code.google.com/p/go #

Patch Set 9 : diff -r 3833ddddde2b https://code.google.com/p/go #

Patch Set 10 : diff -r 3833ddddde2b https://code.google.com/p/go #

Patch Set 11 : diff -r 3833ddddde2b https://code.google.com/p/go #

Patch Set 12 : diff -r 1e851b943773 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -7 lines) Patch
M src/cmd/go/build.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/cgo/gcc_arm.S View 1 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 25
cshapiro
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 9 months ago (2013-08-14 21:14:18 UTC) #1
dave_cheney.net
LGTM. untested, but Carl knows what he is talking about. On 15/08/2013, at 6:14, cshapiro@golang.org ...
11 years, 9 months ago (2013-08-14 21:16:52 UTC) #2
rsc
LGTM Cl desc should begin cmd/go (dir under src)
11 years, 9 months ago (2013-08-14 21:22:16 UTC) #3
cshapiro
On Wed, Aug 14, 2013 at 2:22 PM, Russ Cox <rsc@golang.org> wrote: > Cl desc ...
11 years, 9 months ago (2013-08-14 21:27:12 UTC) #4
rsc
Yes thanks
11 years, 9 months ago (2013-08-14 21:38:06 UTC) #5
elias.naur
On 2013/08/14 21:14:18, cshapiro wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
11 years, 9 months ago (2013-08-14 22:05:52 UTC) #6
cshapiro1
On 2013/08/14 22:05:52, elias.naur wrote: > LGTM. Thanks. Should 5l (lib.c:hostlink()) also be changed to ...
11 years, 9 months ago (2013-08-14 22:13:03 UTC) #7
elias.naur
On Thursday, August 15, 2013 12:13:04 AM UTC+2, Carl Shapiro wrote: > > On 2013/08/14 ...
11 years, 9 months ago (2013-08-14 22:16:05 UTC) #8
cshapiro
*** Submitted as https://code.google.com/p/go/source/detail?r=0a4959c5402a *** cmd/go, runtime/cgo: explicitly target ARMv5T The baseline architecture had been ...
11 years, 9 months ago (2013-08-14 22:22:03 UTC) #9
rsc
no, host linking only links
11 years, 9 months ago (2013-08-14 22:50:26 UTC) #10
minux1
on some platforms (*BSD/ARM), we only support armv6 or better cpus. why restrict gcc to ...
11 years, 8 months ago (2013-10-07 01:15:49 UTC) #11
cshapiro1
On 2013/10/07 01:15:49, minux wrote: > on some platforms (*BSD/ARM), we only support armv6 or ...
11 years, 8 months ago (2013-10-07 17:32:47 UTC) #12
minux1
On Oct 7, 2013 1:32 PM, <cshapiro@google.com> wrote: > > On 2013/10/07 01:15:49, minux wrote: ...
11 years, 8 months ago (2013-10-07 17:46:19 UTC) #13
minux1
for a concrete proposal, see https://codereview.appspot.com/14439047/
11 years, 8 months ago (2013-10-07 17:49:55 UTC) #14
cshapiro
On Mon, Oct 7, 2013 at 10:46 AM, minux <minux.ma@gmail.com> wrote: > > https://code.google.com/p/go/issues/detail?id=6134 > ...
11 years, 8 months ago (2013-10-07 18:06:19 UTC) #15
minux1
On Oct 7, 2013 2:06 PM, "Carl Shapiro" <cshapiro@golang.org> wrote: > > On Mon, Oct ...
11 years, 8 months ago (2013-10-07 18:22:55 UTC) #16
minux1
On Oct 7, 2013 2:06 PM, "Carl Shapiro" <cshapiro@golang.org> wrote: > It would help if ...
11 years, 8 months ago (2013-10-07 18:46:14 UTC) #17
cshapiro
On Mon, Oct 7, 2013 at 11:22 AM, minux <minux.ma@gmail.com> wrote: > most armv5 machines ...
11 years, 8 months ago (2013-10-07 18:49:17 UTC) #18
minux1
On Oct 7, 2013 2:49 PM, "Carl Shapiro" <cshapiro@golang.org> wrote: > > On Mon, Oct ...
11 years, 8 months ago (2013-10-07 20:31:02 UTC) #19
rsc
Carl put the -march=armv5t in so that we could compile the blx instruction in gcc_arm.S. ...
11 years, 8 months ago (2013-10-07 20:45:35 UTC) #20
cshapiro
On Mon, Oct 7, 2013 at 1:45 PM, Russ Cox <rsc@golang.org> wrote: > Of course, ...
11 years, 8 months ago (2013-10-07 20:56:57 UTC) #21
minux1
On Oct 7, 2013 4:56 PM, "Carl Shapiro" <cshapiro@golang.org> wrote: > > On Mon, Oct ...
11 years, 8 months ago (2013-10-07 22:10:14 UTC) #22
minux1
On Oct 7, 2013 4:45 PM, "Russ Cox" <rsc@golang.org> wrote: > > Carl put the ...
11 years, 8 months ago (2013-10-07 22:18:33 UTC) #23
iant
On Mon, Oct 7, 2013 at 1:45 PM, Russ Cox <rsc@golang.org> wrote: > Carl put ...
11 years, 8 months ago (2013-10-07 23:36:04 UTC) #24
cshapiro
11 years, 8 months ago (2013-10-08 00:04:55 UTC) #25
On Mon, Oct 7, 2013 at 4:36 PM, Ian Lance Taylor <iant@golang.org> wrote:

> If that is the only reason for it, then I think we could also simply
> add
>
>         .arch   armv5t
>
> to gcc_arm.S.  The .arch pseudo-op was added to gas 8 years ago.
>

Yes, that is the only reason I added the flag.  Thanks for the suggestion.
 I have uploaded a change for review.
Sign in to reply to this message.

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