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

Issue 9080043: code review 9080043: cmd/ld: fix syms that are both cgo_import_static & cgo_... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by iant
Modified:
11 years, 10 months ago
Reviewers:
brainman
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

cmd/ld: fix syms that are both cgo_import_static & cgo_import_dynamic This is needed for SWIG when linking in internal mode. In internal mode if a symbol was cgo_import_static we used to forget that it was also cgo_import_dynamic.

Patch Set 1 #

Patch Set 2 : diff -r 3478ecc801f6 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
src/cmd/ld/go.c View 1 chunk +3 lines, -2 lines 0 comments Download
src/cmd/ld/lib.c View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 9
iant
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 10 months ago (2013-05-01 14:27:13 UTC) #1
rsc
LGTM
11 years, 10 months ago (2013-05-01 15:46:49 UTC) #2
r
LGTM
11 years, 10 months ago (2013-05-01 21:26:33 UTC) #3
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=9ca1e3485c93 *** cmd/ld: fix syms that are both cgo_import_static & cgo_import_dynamic This ...
11 years, 10 months ago (2013-05-01 21:30:29 UTC) #4
brainman
It crashes in https://code.google.com/p/go/source/browse/src/cmd/ld/pe.c#201, because s->dynimplib is nil. Before this change the code was executed ...
11 years, 10 months ago (2013-05-02 00:56:53 UTC) #5
iant
On Wed, May 1, 2013 at 5:56 PM, <alex.brainman@gmail.com> wrote: > It crashes in > ...
11 years, 10 months ago (2013-05-02 01:53:38 UTC) #6
brainman
On 2013/05/02 01:53:38, iant wrote: > ... > Does it work if you change line ...
11 years, 10 months ago (2013-05-02 02:34:22 UTC) #7
iant
On Wed, May 1, 2013 at 7:34 PM, <alex.brainman@gmail.com> wrote: > > Thank you for ...
11 years, 10 months ago (2013-05-02 02:48:18 UTC) #8
brainman
11 years, 10 months ago (2013-05-02 03:01:12 UTC) #9
Message was sent while issue was closed.
https://codereview.appspot.com/9110044/

Alex
Sign in to reply to this message.

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