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

Issue 3733046: code review 3733046: new cgo windows port. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by vcc
Modified:
14 years, 2 months ago
Reviewers:
CC:
rsc, peterGo, brainman, golang-dev
Visibility:
Public.

Description

new cgo windows port.

Patch Set 1 #

Patch Set 2 : code review 3733046: new cgo windows port. #

Total comments: 4

Patch Set 3 : code review 3733046: new cgo windows port. #

Patch Set 4 : code review 3733046: new cgo windows port. #

Patch Set 5 : code review 3733046: new cgo windows port. #

Total comments: 19

Patch Set 6 : code review 3733046: new cgo windows port. #

Patch Set 7 : code review 3733046: new cgo windows port. #

Total comments: 2

Patch Set 8 : code review 3733046: new cgo windows port. #

Patch Set 9 : code review 3733046: new cgo windows port. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -14 lines) Patch
M src/cmd/8l/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cgo/main.go View 2 chunks +8 lines, -0 lines 0 comments Download
M src/cmd/cgo/out.go View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -4 lines 0 comments Download
M src/cmd/gopack/ar.c View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/ld/data.c View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
A src/cmd/ld/ldpe.c View 1 2 3 4 5 1 chunk +404 lines, -0 lines 0 comments Download
M src/cmd/ld/lib.c View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/cmd/ld/pe.c View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/Makefile View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M src/pkg/debug/pe/file.go View 2 chunks +78 lines, -0 lines 0 comments Download
M src/pkg/runtime/386/asm.s View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M src/pkg/runtime/cgo/Makefile View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/cgo/windows_386.c View 1 2 3 4 5 2 chunks +9 lines, -4 lines 0 comments Download
M src/pkg/runtime/runtime.c View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/windows/386/rt0.s View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15
vcc
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-12-25 06:13:25 UTC) #1
peterGo
For this package, gosqlite: trivial sqlite3 binding for Go http://code.google.com/p/gosqlite/ compiling this program, package main ...
14 years, 3 months ago (2010-12-26 00:28:17 UTC) #2
peterGo
http://codereview.appspot.com/3733046/diff/2001/src/cmd/ld/ldpe.c File src/cmd/ld/ldpe.c (right): http://codereview.appspot.com/3733046/diff/2001/src/cmd/ld/ldpe.c#newcode2 src/cmd/ld/ldpe.c:2: Copyright © 2010 Wei guangjing. Use the Go standard ...
14 years, 3 months ago (2010-12-26 02:03:18 UTC) #3
vcc
I test gosqlite with share lib, it works for me. download sqlite3.dll from http://www.sqlite.org/sqlite-dll-win32-x86-3070400.zip unzip ...
14 years, 3 months ago (2010-12-26 02:21:22 UTC) #4
czaplinski
http://codereview.appspot.com/3733046/diff/2001/src/cmd/ld/ldpe.c File src/cmd/ld/ldpe.c (right): http://codereview.appspot.com/3733046/diff/2001/src/cmd/ld/ldpe.c#newcode382 src/cmd/ld/ldpe.c:382: PeSect *sect; (minor) looks like having some slight indentation ...
14 years, 3 months ago (2010-12-26 14:39:30 UTC) #5
vcc
Please take another look. http://codereview.appspot.com/3733046/diff/2001/src/cmd/ld/ldpe.c File src/cmd/ld/ldpe.c (right): http://codereview.appspot.com/3733046/diff/2001/src/cmd/ld/ldpe.c#newcode2 src/cmd/ld/ldpe.c:2: Copyright © 2010 Wei guangjing. ...
14 years, 2 months ago (2011-01-05 05:15:39 UTC) #6
vcc
cgocallback works now, that make misc/cgo/life works, please take another look.
14 years, 2 months ago (2011-01-08 07:41:55 UTC) #7
rsc
http://codereview.appspot.com/3733046/diff/21001/src/cmd/ld/data.c File src/cmd/ld/data.c (right): http://codereview.appspot.com/3733046/diff/21001/src/cmd/ld/data.c#newcode244 src/cmd/ld/data.c:244: if(HEADTYPE == 10) { // Windows PE if(thechar == ...
14 years, 2 months ago (2011-01-19 20:04:19 UTC) #8
vcc
PTAL http://codereview.appspot.com/3733046/diff/21001/src/cmd/ld/data.c File src/cmd/ld/data.c (right): http://codereview.appspot.com/3733046/diff/21001/src/cmd/ld/data.c#newcode244 src/cmd/ld/data.c:244: if(HEADTYPE == 10) { // Windows PE On ...
14 years, 2 months ago (2011-01-20 13:22:58 UTC) #9
rsc
looks good; one nit to make it work on non-windows http://codereview.appspot.com/3733046/diff/34001/src/pkg/runtime/windows/386/rt0.s File src/pkg/runtime/windows/386/rt0.s (right): http://codereview.appspot.com/3733046/diff/34001/src/pkg/runtime/windows/386/rt0.s#newcode8 ...
14 years, 2 months ago (2011-01-20 13:30:37 UTC) #10
vcc
PTAL http://codereview.appspot.com/3733046/diff/34001/src/pkg/runtime/windows/386/rt0.s File src/pkg/runtime/windows/386/rt0.s (right): http://codereview.appspot.com/3733046/diff/34001/src/pkg/runtime/windows/386/rt0.s#newcode8 src/pkg/runtime/windows/386/rt0.s:8: DATA runtime·iswindows(SB)/4, $1 On 2011/01/20 13:30:37, rsc wrote: ...
14 years, 2 months ago (2011-01-20 13:39:19 UTC) #11
rsc
looks good but please hg sync and hg mail. doesn't apply cleanly with your most ...
14 years, 2 months ago (2011-01-20 14:20:56 UTC) #12
vcc
On 2011/01/20 14:20:56, rsc wrote: > looks good but please hg sync and hg mail. ...
14 years, 2 months ago (2011-01-20 14:36:50 UTC) #13
rsc
LGTM
14 years, 2 months ago (2011-01-20 15:12:12 UTC) #14
rsc
14 years, 2 months ago (2011-01-20 15:22:23 UTC) #15
*** Submitted as 5cff7a770e6d ***

cgo: windows/386 port

R=rsc, peterGo, brainman
CC=golang-dev
http://codereview.appspot.com/3733046

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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