Commit 66cb5cd5 authored by Russ Cox's avatar Russ Cox

cmd/link: increase ELFRESERVE to a full page

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/12951Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 3548a1e7
...@@ -713,7 +713,7 @@ var Elfstrdat []byte ...@@ -713,7 +713,7 @@ var Elfstrdat []byte
* On FreeBSD, cannot be larger than a page. * On FreeBSD, cannot be larger than a page.
*/ */
const ( const (
ELFRESERVE = 3072 ELFRESERVE = 4096
) )
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment