OSDN Git Service

libgo: Use MAP_FIXED if necessary to grab arena.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 00:02:15 +0000 (00:02 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 00:02:15 +0000 (00:02 +0000)
commit00149290a194fe51f26d37ac5a37c536ddaa7b44
tree7e1cbd0df7cdc84ec806fd27d00a85113d7564c1
parentb8439d263974fb29dc3ff2ed7bf1f127b391bf42
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171961 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/config.h.in
libgo/configure
libgo/configure.ac
libgo/runtime/mem.c