aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ld/lib.h
diff options
context:
space:
mode:
authorLucio De Re <lucio.dere@gmail.com>2011-07-25 13:45:50 -0400
committerRuss Cox <rsc@golang.org>2011-07-25 13:45:50 -0400
commit75c918c1ae5fdecc5da3d2d214baf0e547d43bfa (patch)
tree2ac49858bc9445e77919ee0a75cc96b9009bfe71 /src/cmd/ld/lib.h
parenteb3f2083f91fa2c48bad4c997f5d8a4378aaf04e (diff)
downloadgo-75c918c1ae5fdecc5da3d2d214baf0e547d43bfa.tar.xz
ld: fix build on Plan 9
ld/data.c: . Format specifier with corresponding cast to cater for all architectures (llux and vlong). ld/ldelf.c: ld/ldmacho.c: . Missing "pn" argument in diag() calls. ld/ldpe.c: . Dropped "sym->sectnum" in diag() call. . Typo in a comment. ld/lib.h: . Added varargck pragma for "O". R=rsc CC=golang-dev https://golang.org/cl/4749042
Diffstat (limited to 'src/cmd/ld/lib.h')
-rw-r--r--src/cmd/ld/lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/ld/lib.h b/src/cmd/ld/lib.h
index 03a1d5806d..e226f0122c 100644
--- a/src/cmd/ld/lib.h
+++ b/src/cmd/ld/lib.h
@@ -277,6 +277,8 @@ extern Header headers[];
int headtype(char*);
int Yconv(Fmt*);
+
+#pragma varargck type "O" int
#pragma varargck type "Y" Sym*
// buffered output