mirror of
https://github.com/golang/go
synced 2024-11-23 06:20:07 -07:00
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
This commit is contained in:
parent
593d8b0c14
commit
74c03cb814
@ -97,6 +97,8 @@ struct Segment
|
|||||||
Section* sect;
|
Section* sect;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#pragma incomplete struct Elf64_Shdr
|
||||||
|
|
||||||
struct Section
|
struct Section
|
||||||
{
|
{
|
||||||
uchar rwx;
|
uchar rwx;
|
||||||
|
Loading…
Reference in New Issue
Block a user