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

Issue 2674041: code review 2674041: 8l, runtime: fix Plan 9 386 build. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by paulzhol
Modified:
13 years, 11 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

8l, runtime: fix Plan 9 386 build. 8l was broken by commit 7ac0d2eed9, it caused .data to be page aligned in the file - which is not how Plan 9 expects things to be. Also .rodata was layed out in a similar fashion. Not sure when signame was introduced, but added a stub. Removed the symo assignment in asm.c as it is not currently used. Fix runtime breakage after commit 629c065d36 which prefixes all external symbols with runtimeĀ·.

Patch Set 1 : code review 2674041: Fix Plan 9 386 build. #

Patch Set 2 : code review 2674041: Fix Plan 9 386 build. #

Patch Set 3 : code review 2674041: Fix Plan 9 386 build. #

Total comments: 4

Patch Set 4 : code review 2674041: Fix Plan 9 386 build. #

Patch Set 5 : code review 2674041: Fix Plan 9 386 build. #

Patch Set 6 : code review 2674041: 8l, runtime: fix Plan 9 386 build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -11 lines) Patch
M src/cmd/8l/asm.c View 1 chunk +0 lines, -1 line 0 comments Download
M src/cmd/8l/obj.c View 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/ld/data.c View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/plan9/386/signal.c View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/plan9/mem.c View 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/runtime/plan9/runtime_defs.go View 1 chunk +23 lines, -0 lines 0 comments Download
M src/pkg/runtime/plan9/thread.c View 5 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 8
paulzhol
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 1 month ago (2010-10-22 15:34:01 UTC) #1
rsc1
Sorry about breaking the build. I think we can probably do something simpler than what's ...
14 years ago (2010-11-01 19:27:29 UTC) #2
paulzhol
On 2010/11/01 19:27:29, rsc1 wrote: > Sorry about breaking the build. I think we can ...
14 years ago (2010-11-01 23:27:35 UTC) #3
paulzhol
Hi Russ, I've hg synced my code and saw how it is done in commit ...
14 years ago (2010-11-02 19:54:43 UTC) #4
paulzhol
synced against tip and added more function call renames after commit 629c065d36, which prefixes all ...
14 years ago (2010-11-05 10:37:01 UTC) #5
paulzhol
synced against release.2010-12-02, added runtime_defs.go.
13 years, 11 months ago (2010-12-03 11:38:48 UTC) #6
rsc1
LGTM Thanks for staying on top of the breakage. I fear there is more on ...
13 years, 11 months ago (2010-12-06 19:40:50 UTC) #7
rsc
13 years, 11 months ago (2010-12-06 21:38:30 UTC) #8
*** Submitted as 91d2aeab0c2e ***

8l, runtime: fix Plan 9 386 build.
8l was broken by commit 7ac0d2eed9, it caused .data to be page aligned in the
file - which is not how Plan 9 expects things to be.
Also .rodata was layed out in a similar fashion.

Not sure when signame was introduced, but added a stub.
Removed the symo assignment in asm.c as it is not currently used.

Fix runtime breakage after commit 629c065d36 which prefixes all external symbols
with runtimeĀ·.

R=rsc
CC=golang-dev
http://codereview.appspot.com/2674041

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