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

Issue 6792043: code review 6792043: cmd/ld: portability fixes (Closed)

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

Description

cmd/ld: portability fixes fix code that implicitly assumes little-endian machines.

Patch Set 1 #

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

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

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

Total comments: 1

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M src/cmd/ld/ldpe.c View 1 2 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 8
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-03-20 19:39:21 UTC) #1
bradfitz
Were you cross-compiling Windows binaries from ARM? On Wed, Mar 20, 2013 at 12:39 PM, ...
12 years, 1 month ago (2013-03-20 19:40:48 UTC) #2
minux1
On Thu, Mar 21, 2013 at 3:40 AM, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Were you ...
12 years, 1 month ago (2013-03-20 19:45:16 UTC) #3
rsc
LGTM ARM is little-endian too. You'd have to be cross-compiling from SPARC or PowerPC.
12 years, 1 month ago (2013-03-20 20:51:39 UTC) #4
brainman
LGTM https://codereview.appspot.com/6792043/diff/13001/src/cmd/ld/ldpe.c File src/cmd/ld/ldpe.c (right): https://codereview.appspot.com/6792043/diff/13001/src/cmd/ld/ldpe.c#newcode175 src/cmd/ld/ldpe.c:175: if(Bread(f, symbuf, 4) != 4) If you are ...
12 years, 1 month ago (2013-03-21 02:34:16 UTC) #5
minux1
On Thursday, March 21, 2013, wrote: > https://codereview.appspot.**com/6792043/diff/13001/src/** > cmd/ld/ldpe.c#newcode175<https://codereview.appspot.com/6792043/diff/13001/src/cmd/ld/ldpe.c#newcode175> > src/cmd/ld/ldpe.c:175: if(Bread(f, symbuf, 4) ...
12 years, 1 month ago (2013-03-21 08:02:16 UTC) #6
brainman
It is fine the way it is. Please, go ahead and submit. Thank you. Alex
12 years, 1 month ago (2013-03-21 09:17:50 UTC) #7
minux1
12 years, 1 month ago (2013-03-21 20:01:08 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=e7da6cc076b2 ***

cmd/ld: portability fixes
fix code that implicitly assumes little-endian machines.

R=golang-dev, bradfitz, rsc, alex.brainman
CC=golang-dev
https://codereview.appspot.com/6792043
Sign in to reply to this message.

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