From 74c03cb81491a2e7e6559b6cf92518287260ce36 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Wed, 9 Jan 2013 15:05:22 -0800 Subject: [PATCH] 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 --- src/cmd/ld/lib.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.48.1