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

Issue 6822078: code review 6822078: runtime: Support for shared libraries (generic parts an... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by elias.naur
Modified:
10 years, 10 months ago
Reviewers:
minux1, rsc, dho, taruti
CC:
golang-dev
Visibility:
Public.

Description

runtime: Support for shared libraries (generic parts and linux/x64+arm only for now). Assembler changes to avoid assembler instructions that cannot use RIP-relative addressing. Scheduler changes to allow the main go routine to exit cleanly and relinquish control back to the main program. See also: https://codereview.appspot.com/6926049 https://codereview.appspot.com/7064048 and https://groups.google.com/d/topic/golang-nuts/P05BDjLcQ5k/discussion

Patch Set 1 #

Patch Set 2 : diff -r 126c37a9e33c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 940cccc0f560 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r aa5d9f234a8e https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r aa5d9f234a8e https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r f584af3b870d https://go.googlecode.com/hg/ #

Total comments: 21

Patch Set 7 : diff -r 28ee66c9003f https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r 8906cf341c9b https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r c4ee14785641 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r f6172d444cc0 https://go.googlecode.com/hg/ #

Patch Set 11 : diff -r b3af92ac5a0c https://go.googlecode.com/hg/ #

Patch Set 12 : diff -r f9987258f37a https://go.googlecode.com/hg/ #

Patch Set 13 : diff -r dd18b993ba95 https://go.googlecode.com/hg/ #

Patch Set 14 : diff -r 3391481b6373 https://go.googlecode.com/hg/ #

Patch Set 15 : diff -r e641a237b2ad https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -13 lines) Patch
M src/pkg/runtime/asm_amd64.s View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +21 lines, -4 lines 0 comments Download
M src/pkg/runtime/asm_arm.s View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +13 lines, -3 lines 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +18 lines, -4 lines 0 comments Download
M src/pkg/runtime/rt0_linux_amd64.s View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M src/pkg/runtime/rt0_linux_arm.s View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.c View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 13
elias.naur
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 4 months ago (2012-12-24 17:32:56 UTC) #1
taruti
Will it be possible to use Go executables even after this in linux chroots without ...
11 years, 4 months ago (2012-12-26 12:52:31 UTC) #2
elias.naur
On 2012/12/26 12:52:31, taruti wrote: > Will it be possible to use Go executables even ...
11 years, 4 months ago (2012-12-27 17:12:59 UTC) #3
minux1
On Friday, December 28, 2012, wrote: > On 2012/12/26 12:52:31, taruti wrote: > >> Will ...
11 years, 4 months ago (2012-12-28 07:01:48 UTC) #4
dho
Maybe. I haven't looked at the changes very much, but I imagine this is going ...
11 years, 4 months ago (2012-12-28 07:42:44 UTC) #5
elias.naur
On 2012/12/28 07:42:44, dho wrote: > Maybe. I haven't looked at the changes very much, ...
11 years, 4 months ago (2012-12-28 15:46:27 UTC) #6
rsc
Some low-level comments below. I apologize that we don't have gofmt for C code. I ...
11 years, 3 months ago (2013-01-02 21:35:59 UTC) #7
elias.naur
PTAL Thank you very much for the detailed review :) I've since added linux/arm support ...
11 years, 3 months ago (2013-01-06 04:16:52 UTC) #8
elias.naur
I've hg sync'ed and updated the linker to output relative offsets for the GC_CALL gc ...
11 years, 3 months ago (2013-01-19 13:58:23 UTC) #9
elias.naur
hg sync'ed to tip, merged and restested.
11 years, 2 months ago (2013-01-30 13:13:07 UTC) #10
rsc
Please split the symtab and mgc0 changes, along with the needed change to ld/lib.c, into ...
11 years, 2 months ago (2013-01-31 01:30:17 UTC) #11
elias.naur
On 2013/01/31 01:30:17, rsc wrote: > Please split the symtab and mgc0 changes, along with ...
11 years, 2 months ago (2013-01-31 18:43:20 UTC) #12
elias.naur
10 years, 10 months ago (2013-06-24 15:24:53 UTC) #13
Message was sent while issue was closed.
Closed, superseded by https://codereview.appspot.com/9738047/
Sign in to reply to this message.

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