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

Issue 7057058: code review 7057058: cmd/ld: fix incompatible type signatures on Plan 9 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by ality
Modified:
12 years, 6 months ago
Reviewers:
CC:
rsc, dave_cheney.net, golang-dev
Visibility:
Public.

Description

cmd/ld: fix incompatible type signatures on Plan 9 Changeset f483bfe81114 moved ELF generation to the architecture independent code and in doing so added a Section* to the Sym type and an Elf64_Shdr* to the Section type. This caused the Plan 9 compilers to complain about incompatible type signatures in the many files that reference the Sym type.

Patch Set 1 #

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

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

Total comments: 1

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

Patch Set 5 : diff -r adf4e96e9aa4 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M src/cmd/ld/lib.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6
ality
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 6 months ago (2013-01-08 00:10:52 UTC) #1
dave_cheney.net
https://codereview.appspot.com/7057058/diff/4001/src/cmd/ld/symtab.c File src/cmd/ld/symtab.c (right): https://codereview.appspot.com/7057058/diff/4001/src/cmd/ld/symtab.c#newcode128 src/cmd/ld/symtab.c:128: off = putelfstr(s); I think this needs a comment, ...
12 years, 6 months ago (2013-01-08 00:16:33 UTC) #2
rsc
NOT LGTM No thank you. To fix Plan 9, add #pragma incomplete Elf64_Shdr to the ...
12 years, 6 months ago (2013-01-09 18:58:45 UTC) #3
ality
Hello rsc@golang.org, dave@cheney.net (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 6 months ago (2013-01-09 20:57:22 UTC) #4
rsc
LGTM
12 years, 6 months ago (2013-01-09 20:58:32 UTC) #5
ality
12 years, 6 months ago (2013-01-09 23:05:31 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=7a9044a3bdc8 ***

cmd/ld: fix incompatible type signatures on Plan 9

Changeset f483bfe81114 moved ELF generation to the architecture
independent code and in doing so added a Section* to the Sym
type and an Elf64_Shdr* to the Section type.

This caused the Plan 9 compilers to complain about incompatible
type signatures in the many files that reference the Sym type.

R=rsc, dave
CC=golang-dev
https://codereview.appspot.com/7057058
Sign in to reply to this message.

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