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

Issue 7817048: code review 7817048: cmd/ld: permit sym to be both cgo_export_static and cgo... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by iant
Modified:
12 years ago
Reviewers:
CC:
golang-dev, bradfitz, rsc
Visibility:
Public.

Description

cmd/ld: permit sym to be both cgo_export_static and cgo_export_dynamic Fixes SWIG callbacks. Previously crosscall2 was only cgo_export_static, despite the use of two #pragma declarations in runtime/cgo/callbacks.c.

Patch Set 1 #

Total comments: 4

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

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

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

Messages

Total messages: 6
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years ago (2013-03-23 00:56:01 UTC) #1
iant
Ping. This change is pretty much obvious. Can somebody who has looked at the linker ...
12 years ago (2013-03-25 20:12:43 UTC) #2
bradfitz
https://codereview.appspot.com/7817048/diff/1/src/cmd/ld/go.c File src/cmd/ld/go.c (right): https://codereview.appspot.com/7817048/diff/1/src/cmd/ld/go.c#newcode525 src/cmd/ld/go.c:525: s->cgoexport |= b; (Only reading this diff, and not ...
12 years ago (2013-03-25 20:29:23 UTC) #3
rsc
LGTM Brad's cleanup sgtm too. https://codereview.appspot.com/7817048/diff/1/src/cmd/ld/go.c File src/cmd/ld/go.c (right): https://codereview.appspot.com/7817048/diff/1/src/cmd/ld/go.c#newcode511 src/cmd/ld/go.c:511: b = CgoExportStatic; tabs ...
12 years ago (2013-03-25 22:06:28 UTC) #4
iant
https://codereview.appspot.com/7817048/diff/1/src/cmd/ld/go.c File src/cmd/ld/go.c (right): https://codereview.appspot.com/7817048/diff/1/src/cmd/ld/go.c#newcode511 src/cmd/ld/go.c:511: b = CgoExportStatic; On 2013/03/25 22:06:28, rsc wrote: > ...
12 years ago (2013-03-25 22:37:40 UTC) #5
iant
12 years ago (2013-03-25 22:37:59 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=49bee4257d78 ***

cmd/ld: permit sym to be both cgo_export_static and cgo_export_dynamic

Fixes SWIG callbacks.  Previously crosscall2 was only
cgo_export_static, despite the use of two #pragma declarations
in runtime/cgo/callbacks.c.

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

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