diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-05 00:02:15 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-05 00:02:15 +0000 |
commit | 00149290a194fe51f26d37ac5a37c536ddaa7b44 (patch) | |
tree | 7e1cbd0df7cdc84ec806fd27d00a85113d7564c1 /libgo/configure | |
parent | b8439d263974fb29dc3ff2ed7bf1f127b391bf42 (diff) | |
download | gcc-00149290a194fe51f26d37ac5a37c536ddaa7b44.tar.gz |
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
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/configure b/libgo/configure index 2821967d49a..611103fc4b5 100755 --- a/libgo/configure +++ b/libgo/configure @@ -14266,7 +14266,7 @@ else fi -for ac_func in srandom random strerror_r strsignal wait4 +for ac_func in srandom random strerror_r strsignal wait4 mincore do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |