runtime: adapt memory management to AIX mmap
commit809998537fd191430c36ad6c35ddcf958aa9afd8
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jun 2017 22:36:48 +0000 (27 22:36 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jun 2017 22:36:48 +0000 (27 22:36 +0000)
treec105247981108997e8faf34d6055638c1d52e2a1
parent17e024614fa53f77bbaaee20b4f7568df199e0da
runtime: adapt memory management to AIX mmap

    On AIX:
    * mmap does not allow to map an already mapped range,
    * mmap range start at 0x30000000 for 32 bits processes,
    * mmap range start at 0x70000000_00000000 for 64 bits processes

    This is adapted from change 37845.

    Issue golang/go#19200

    Reviewed-on: https://go-review.googlesource.com/46772

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249713 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/malloc.go
libgo/go/runtime/mem_gccgo.go
libgo/runtime/runtime_c.c