libgo: Use MAP_FIXED if necessary to grab arena.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Apr 2011 00:02:15 +0000 (00:02 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Apr 2011 00:02:15 +0000 (00:02 +0000)
commit9cc1bb97bc33ab91cd35486165ca1da51c7cdec3
tree7e1cbd0df7cdc84ec806fd27d00a85113d7564c1
parent06ec98415ab559f97fe90f661d91c4f9427db42b
libgo: Use MAP_FIXED if necessary to grab arena.

From Rainer Orth.

PR go/48240
* configure.ac: Check for mincore.
* configure: Regenerate.
* config.h.in: Regenerate.
* runtime/mem.c: Include unistd.h.
(addrspace_free): New function.
(runtime_SysMap): Retry 64-bit runtime_mmap with MAP_FIXED.

From-SVN: r171961
libgo/config.h.in
libgo/configure
libgo/configure.ac
libgo/runtime/mem.c