From: Anthony Martin Date: Wed, 9 Jan 2013 23:05:22 +0000 (-0800) Subject: cmd/ld: fix incompatible type signatures on Plan 9 X-Git-Tag: go1.1rc2~1434 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=74c03cb81491a2e7e6559b6cf92518287260ce36;p=gostls13.git 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://golang.org/cl/7057058 --- diff --git a/src/cmd/ld/lib.h b/src/cmd/ld/lib.h index 92d458a14c..05363fc14d 100644 --- a/src/cmd/ld/lib.h +++ b/src/cmd/ld/lib.h @@ -97,6 +97,8 @@ struct Segment Section* sect; }; +#pragma incomplete struct Elf64_Shdr + struct Section { uchar rwx;