]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: increase ELFRESERVE to a full page
authorRuss Cox <rsc@golang.org>
Thu, 30 Jul 2015 20:30:54 +0000 (16:30 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 31 Jul 2015 02:18:35 +0000 (02:18 +0000)
Etcd and kubernetes have hit this.
See  https://bugzilla.redhat.com/show_bug.cgi?id=1248071

Change-Id: I6231013efa0a19ee74f7ebacd1024adb368af83a
Reviewed-on: https://go-review.googlesource.com/12951
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/elf.go

index cf52f2e1e92a9e0805e7fde259ca11c6a88e7a4b..508f0554c7b9e4429ecb7c478310692d9cb7b9f4 100644 (file)
@@ -713,7 +713,7 @@ var Elfstrdat []byte
  * On FreeBSD, cannot be larger than a page.
  */
 const (
-       ELFRESERVE = 3072
+       ELFRESERVE = 4096
 )
 
 /*