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

Issue 6445085: code review 6445085: cmd/6l, cmd/ld, cmd/go: consistent binary for cgo programs (Closed)

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

Description

cmd/ld: consistent binary for cgo programs We use pkg path instead of file name (which contains $WORK) in section symbols names.

Patch Set 1 #

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

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

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

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

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

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

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

Total comments: 2

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

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

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

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

Patch Set 13 : diff -r b0c749cc5654 https://code.google.com/p/go/ #

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

Messages

Total messages: 16
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/
11 years, 9 months ago (2012-08-07 14:18:36 UTC) #1
minux1
This CL is not complete, please suggest better ways to do the same. This CL ...
11 years, 9 months ago (2012-08-07 14:28:35 UTC) #2
albert.strasheim
Hello Thanks very much for the work so far. On Tuesday, August 7, 2012 4:28:14 ...
11 years, 9 months ago (2012-08-08 05:52:34 UTC) #3
minux1
On Wed, Aug 8, 2012 at 1:52 PM, Albert Strasheim <fullung@gmail.com> wrote: > On Tuesday, ...
11 years, 9 months ago (2012-08-09 05:41:45 UTC) #4
albert.strasheim
Hello On Thu, Aug 9, 2012 at 7:41 AM, minux <minux.ma@gmail.com> wrote: > On Wed, ...
11 years, 9 months ago (2012-08-09 07:05:37 UTC) #5
minux1
On Tue, Aug 7, 2012 at 10:28 PM, minux <minux.ma@gmail.com> wrote: > This CL is ...
11 years, 8 months ago (2012-08-20 16:23:50 UTC) #6
rsc
>> Two involved problems: >> 1. debug info. generated by 'gcc -g' will contain path ...
11 years, 8 months ago (2012-09-11 01:08:30 UTC) #7
iant
On 2012/09/11 01:08:30, rsc wrote: > >> Two involved problems: > >> 1. debug info. ...
11 years, 8 months ago (2012-09-11 03:54:09 UTC) #8
minux1
On Tue, Sep 11, 2012 at 9:08 AM, Russ Cox <rsc@golang.org> wrote: > > >> ...
11 years, 7 months ago (2012-09-16 18:37:18 UTC) #9
minux1
PTAL. On Tue, Sep 11, 2012 at 11:54 AM, <iant@golang.org> wrote: > Sounds like -fdebug-prefix-map ...
11 years, 7 months ago (2012-09-16 18:42:12 UTC) #10
iant
https://codereview.appspot.com/6445085/diff/12009/src/cmd/go/build.go File src/cmd/go/build.go (right): https://codereview.appspot.com/6445085/diff/12009/src/cmd/go/build.go#newcode1099 src/cmd/go/build.go:1099: // we can generate object files that doesn't contain ...
11 years, 7 months ago (2012-09-16 19:26:58 UTC) #11
minux1
On Monday, September 17, 2012, wrote: > > https://codereview.appspot.**com/6445085/diff/12009/src/** > cmd/go/build.go#newcode1101<https://codereview.appspot.com/6445085/diff/12009/src/cmd/go/build.go#newcode1101> > src/cmd/go/build.go:1101: os.Setenv("PWD", "/WORK") ...
11 years, 7 months ago (2012-09-16 20:00:31 UTC) #12
iant
GCC will normally call getcwd to get the current directory, which will normally give you ...
11 years, 7 months ago (2012-09-16 20:30:54 UTC) #13
minux1
PTAL. Reverted all gcc related changes, seems unnecessary now. we cd to $WORK prior to ...
11 years, 7 months ago (2012-09-17 13:01:13 UTC) #14
rsc
LGTM "Well that was incredibly easy!" - http://www.youtube.com/watch?v=1yqVD0swvWU
11 years, 7 months ago (2012-09-17 20:33:28 UTC) #15
minux1
11 years, 7 months ago (2012-09-19 16:19:52 UTC) #16
*** Submitted as http://code.google.com/p/go/source/detail?r=e24d688078cd ***

cmd/ld: consistent binary for cgo programs
We use pkg path instead of file name (which contains $WORK) in section symbols
names.

R=golang-dev, fullung, rsc, iant
CC=golang-dev
http://codereview.appspot.com/6445085
Sign in to reply to this message.

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