aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-03-10 14:45:57 -0400
committerRuss Cox <rsc@golang.org>2013-03-10 14:45:57 -0400
commit85d83c2e51ae67a8f041e3949ffcaef17c7d9d59 (patch)
treec4fc4f47d2c2ad3364271c52cde8bb9d9f2b9d8c
parentb83d4af330858e819787efbbf6c5267f44d5b654 (diff)
downloadgo-85d83c2e51ae67a8f041e3949ffcaef17c7d9d59.tar.xz
libmach: fix build
I guess it would be too much to ask for gcc on my machine to give the same errors as gcc on the builder machines. R=ken2 CC=golang-dev https://golang.org/cl/7686044
-rw-r--r--src/libmach/executable.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libmach/executable.c b/src/libmach/executable.c
index 6d0bc20888..1dd81dc9c9 100644
--- a/src/libmach/executable.c
+++ b/src/libmach/executable.c
@@ -1116,6 +1116,10 @@ machdotout(int fd, Fhdr *fp, ExecHdr *hp)
textsize = 0;
datasize = 0;
bsssize = 0;
+ symoff = 0;
+ symsize = 0;
+ pclnoff = 0;
+ pclnsize = 0;
for (i = 0; i < mp->ncmds; i++) {
MachCmd *c;