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

Issue 13248046: code review 13248046: go.tools/addr2line: Fix compatibility with external lin...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by stacktic
Modified:
11 years, 6 months ago
Reviewers:
rsc
CC:
golang-dev, minux1, rsc
Visibility:
Public.

Description

libmach: accept OS X binary generated by external linker Fixes cpu subtype check when using external linker which sets the CPU_SUBTYPE_LIB64 bit (1<<31). Fixes issue 6197.

Patch Set 1 #

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/libmach/executable.c View 1 1 chunk +1 line, -1 line 1 comment Download
M src/libmach/macho.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5
stacktic
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2013-09-07 15:45:18 UTC) #1
minux1
https://codereview.appspot.com/13248046/diff/6001/src/libmach/executable.c File src/libmach/executable.c (right): https://codereview.appspot.com/13248046/diff/6001/src/libmach/executable.c#newcode1079 src/libmach/executable.c:1079: if (mp->cpusubtype != MACH_CPU_SUBTYPE_X86 && mp->cpusubtype != MACH_CPU_SUBTYPE_X86_64) { ...
11 years, 6 months ago (2013-09-07 19:38:27 UTC) #2
rsc
LGTM Please complete a CLA as described at golang.org/doc/contribute.html#copyright
11 years, 6 months ago (2013-09-09 19:50:38 UTC) #3
rsc
Also please change the first line of the description to libmach: accept OS X binary ...
11 years, 6 months ago (2013-09-09 19:51:00 UTC) #4
bradfitz
11 years, 6 months ago (2013-09-10 18:50:34 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=f22ec517eda6 ***

libmach: accept OS X binary generated by external linker

Fixes cpu subtype check when using external linker which sets the
CPU_SUBTYPE_LIB64 bit (1<<31).
Fixes issue 6197.

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://codereview.appspot.com/13248046

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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