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

Issue 884041: code review 884041: runtime: various arm fixes (Closed)

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

Description

runtime: various arm fixes * correct symbol table size * do not reorder functions in output * traceback * signal handling * use same code for go + defer * handle leaf functions in symbol table

Patch Set 1 #

Patch Set 2 : code review 884041: runtime: various arm fixes #

Patch Set 3 : code review 884041: runtime: various arm fixes #

Patch Set 4 : code review 884041: runtime: various arm fixes #

Total comments: 1

Patch Set 5 : code review 884041: runtime: various arm fixes #

Patch Set 6 : code review 884041: runtime: various arm fixes #

Total comments: 1

Patch Set 7 : code review 884041: runtime: various arm fixes #

Total comments: 9

Patch Set 8 : code review 884041: runtime: various arm fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+615 lines, -336 lines) Patch
M src/cmd/5l/asm.c View 1 2 chunks +5 lines, -1 line 0 comments Download
M src/cmd/5l/noop.c View 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/5l/pass.c View 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/runtime/386/arch.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/runtime/386/asm.s View 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/Makefile View 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/runtime/amd64/arch.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/runtime/amd64/asm.s View 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
M src/pkg/runtime/amd64/traceback.c View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
A src/pkg/runtime/arm/arch.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/runtime/arm/asm.s View 1 2 3 4 5 6 7 5 chunks +9 lines, -6 lines 0 comments Download
M src/pkg/runtime/arm/softfloat.c View 3 chunks +7 lines, -7 lines 0 comments Download
M src/pkg/runtime/arm/traceback.c View 1 2 3 4 5 6 7 1 chunk +82 lines, -4 lines 0 comments Download
M src/pkg/runtime/darwin/386/signal.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/darwin/amd64/signal.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/darwin/amd64/sys.s View 3 4 5 6 7 1 chunk +0 lines, -22 lines 0 comments Download
M src/pkg/runtime/freebsd/386/signal.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/freebsd/amd64/signal.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/freebsd/amd64/sys.s View 3 4 5 6 7 2 chunks +0 lines, -23 lines 0 comments Download
M src/pkg/runtime/linux/386/signal.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/linux/amd64/signal.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/linux/amd64/sys.s View 3 4 5 6 7 1 chunk +0 lines, -22 lines 0 comments Download
M src/pkg/runtime/linux/arm/defs.h View 2 chunks +65 lines, -1 line 0 comments Download
M src/pkg/runtime/linux/arm/signal.c View 2 chunks +83 lines, -68 lines 0 comments Download
M src/pkg/runtime/linux/arm/sys.s View 2 chunks +39 lines, -0 lines 0 comments Download
M src/pkg/runtime/linux/defs_arm.c View 3 chunks +15 lines, -14 lines 0 comments Download
M src/pkg/runtime/linux/os.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 5 4 chunks +5 lines, -4 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/runtime.c View 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/pkg/runtime/symtab.c View 9 chunks +31 lines, -8 lines 0 comments Download
M test/arm-pass.txt View 12 chunks +205 lines, -116 lines 0 comments Download
M test/golden-arm.out View 6 3 chunks +12 lines, -25 lines 0 comments Download
M test/run View 1 chunk +1 line, -0 lines 0 comments Download
M test/run-arm View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12
rsc
Hello kaib (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 12 months ago (2010-04-02 02:15:20 UTC) #1
rsc
Hello kaib (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 12 months ago (2010-04-02 06:12:39 UTC) #2
rsc
> Please take another look. > > http://codereview.appspot.com/884041/show Updated amd64 and 386 to support new ...
14 years, 12 months ago (2010-04-02 06:15:21 UTC) #3
dpx
Russ, thanks for all your work on this! http://codereview.appspot.com/884041/diff/9001/4040 File src/pkg/runtime/symtab.c (right): http://codereview.appspot.com/884041/diff/9001/4040#newcode18 src/pkg/runtime/symtab.c:18: #include ...
14 years, 12 months ago (2010-04-02 14:18:57 UTC) #4
rsc
> http://codereview.appspot.com/884041/diff/9001/4040#newcode18 > src/pkg/runtime/symtab.c:18: #include "arch.h" > Did arch.h get left out of the CL? ...
14 years, 12 months ago (2010-04-02 16:39:51 UTC) #5
rsc
Uploaded a new copy. The "failures" Dean was seeing are now gone. They were actually ...
14 years, 12 months ago (2010-04-02 23:57:10 UTC) #6
dpx
http://codereview.appspot.com/884041/diff/21001/22031 File test/golden-arm.out (right): http://codereview.appspot.com/884041/diff/21001/22031#newcode71 test/golden-arm.out:71: maybe change to: Faulting address: xxx PC=xxx and then ...
14 years, 12 months ago (2010-04-03 01:35:53 UTC) #7
kaib
http://codereview.appspot.com/884041/diff/25001/26002 File src/cmd/5l/noop.c (right): http://codereview.appspot.com/884041/diff/25001/26002#newcode402 src/cmd/5l/noop.c:402: p->from.offset = ((curtext->to.offset2 + 3) & ~3) + 4; ...
14 years, 12 months ago (2010-04-05 10:34:38 UTC) #8
rsc1
http://codereview.appspot.com/884041/diff/25001/26002 File src/cmd/5l/noop.c (right): http://codereview.appspot.com/884041/diff/25001/26002#newcode402 src/cmd/5l/noop.c:402: p->from.offset = ((curtext->to.offset2 + 3) & ~3) + 4; ...
14 years, 12 months ago (2010-04-05 17:48:56 UTC) #9
kaib
lgtm http://codereview.appspot.com/884041/diff/25001/26012 File src/pkg/runtime/arm/softfloat.c (right): http://codereview.appspot.com/884041/diff/25001/26012#newcode7 src/pkg/runtime/arm/softfloat.c:7: // returns number of words that the fp ...
14 years, 12 months ago (2010-04-05 19:28:29 UTC) #10
rsc
submitted. there will probably be more work but this is a good checkpoint.
14 years, 12 months ago (2010-04-05 19:50:35 UTC) #11
rsc
14 years, 12 months ago (2010-04-05 19:51:13 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=f5f628b2346a ***

runtime: various arm fixes
  * correct symbol table size
  * do not reorder functions in output
  * traceback
  * signal handling
  * use same code for go + defer
  * handle leaf functions in symbol table

R=kaib, dpx
CC=golang-dev
http://codereview.appspot.com/884041
Sign in to reply to this message.

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