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

Issue 88550043: code review 88550043: liblink: add leaf bit to object file format (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by rsc
Modified:
10 years, 1 month ago
Reviewers:
gobot, iant
CC:
iant, golang-codereviews
Visibility:
Public.

Description

liblink: add leaf bit to object file format Without the leaf bit, the linker cannot record the correct frame size in the symbol table, and then stack traces get mangled. (Only for ARM.) Fixes issue 7338. Fixes issue 7347.

Patch Set 1 #

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

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

Total comments: 1

Patch Set 4 : diff -r 738877993c83 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M src/cmd/ld/pcln.c View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M src/cmd/link/testdata/autosection.6 View 1 2 Binary file 0 comments Download
M src/cmd/link/testdata/autoweak.6 View 1 2 Binary file 0 comments Download
M src/cmd/link/testdata/dead.6 View 1 2 Binary file 0 comments Download
M src/cmd/link/testdata/hello.6 View 1 2 Binary file 0 comments Download
M src/cmd/link/testdata/layout.6 View 1 2 Binary file 0 comments Download
M src/cmd/link/testdata/pclntab.6 View 1 2 Binary file 0 comments Download
M src/liblink/objfile.c View 1 4 chunks +7 lines, -1 line 0 comments Download
M src/pkg/debug/goobj/read.go View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello iant (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 1 month ago (2014-04-16 17:40:36 UTC) #1
iant
LGTM https://codereview.appspot.com/88550043/diff/40001/src/cmd/ld/pcln.c File src/cmd/ld/pcln.c (right): https://codereview.appspot.com/88550043/diff/40001/src/cmd/ld/pcln.c#newcode176 src/cmd/ld/pcln.c:176: off = setuint32(ctxt, ftab, off, ctxt->cursym->locals + PtrSize*!ctxt->cursym->leaf); ...
10 years, 1 month ago (2014-04-16 20:04:28 UTC) #2
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=993231085fbf *** liblink: add leaf bit to object file format Without the ...
10 years, 1 month ago (2014-04-16 21:11:48 UTC) #3
gobot
10 years, 1 month ago (2014-04-16 21:37:13 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the windows-amd64 builder.
See http://build.golang.org/log/386a00b3ac3147a7f33d114bc3af3d494b87a649
Sign in to reply to this message.

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